github.com/Tri-stone/burrow@v0.25.0/vent/test/deploy.yaml (about)

     1  jobs:
     2  - name: name
     3    set:
     4      val: melons
     5  
     6  - name: desc
     7    set:
     8      val: "the fooss"
     9  
    10  - name: deployEventsTest
    11    deploy:
    12        contract: EventsTest.sol
    13  
    14  - name: add
    15    call:
    16        destination: $deployEventsTest
    17        function: addThing
    18        data:
    19          - $name
    20          - $desc
    21  
    22  - name: getDesc
    23    call:
    24        destination: $deployEventsTest
    25        function: description
    26        data:
    27          - foosball!
    28  
    29  - name: getLength
    30    call:
    31      destination: $deployEventsTest
    32      function: count
    33  
    34  - name: assertLength
    35    assert:
    36      key: $getLength
    37      relation: eq
    38      val: 1
    39  
    40  - name: assertRetrieved
    41    assert:
    42      key: $getDesc
    43      relation: eq
    44      val: $desc
    45  
    46  - name: removeEvent
    47    call:
    48      destination: $deployEventsTest
    49      function: removeThing
    50      data:
    51        - $name
    52  
    53  - name: getLength2
    54    call:
    55      destination: $deployEventsTest
    56      function: count
    57  
    58  - name: assertEmpty
    59    assert:
    60      key: $getLength2
    61      relation: eq
    62      val: 0