summaryrefslogtreecommitdiff
path: root/test/script/definition.et
blob: 3d840400658b50aed7efd8a57a65b7de99daf06b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module definition

asset scripts:
    path: ../asset/definition

test Definition:
    spawn as p 
    with p:
        send "load ${scripts.path}/basic.et"
        expect /load-done/

        send "run Test"
        expect /global-info - Starting test ‘Test’/
        expect /child-stdout p 4/
        expect /match p 4/
        expect /child-stdout p 11/
        expect /match p 11/
        expect /(.*)/ capture done
        guard (done == "run-done")