Skip to content

Commit

Permalink
extend test with setUpAll and tearDown
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicmh committed Apr 11, 2024
1 parent bba4493 commit 1ed589a
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions __tests__/fixtures/empty/dart-json.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{"protocolVersion":"0.1.1","runnerVersion":"1.15.4","pid":21320,"type":"start","time":0}
{"suite":{"id":0,"platform":"vm","path":"test\\main_test.dart"},"type":"suite","time":0}
{"test":{"id":1,"name":"loading test\\main_test.dart","suiteID":0,"groupIDs":[],"metadata":{"skip":false,"skipReason":null},"line":null,"column":null,"url":null},"type":"testStart","time":1}
{"suite":{"id":2,"platform":"vm","path":"test\\second_test.dart"},"type":"suite","time":11}
{"test":{"id":3,"name":"loading test\\second_test.dart","suiteID":2,"groupIDs":[],"metadata":{"skip":false,"skipReason":null},"line":null,"column":null,"url":null},"type":"testStart","time":11}
{"count":2,"type":"allSuites","time":11}
{"testID":1,"result":"success","skipped":false,"hidden":true,"type":"testDone","time":4018}
{"testID":3,"result":"success","skipped":false,"hidden":true,"type":"testDone","time":4025}
{"success":true,"type":"done","time":4029}
{"protocolVersion":"0.1.1","runnerVersion":"1.24.9","pid":60233,"type":"start","time":0}
{"suite":{"id":0,"platform":"vm","path":"test\\second_test.dart"},"type":"suite","time":0}
{"test":{"id":1,"name":"loading test\\second_test.dart","suiteID":0,"groupIDs":[],"metadata":{"skip":false,"skipReason":null},"line":null,"column":null,"url":null},"type":"testStart","time":0}
{"suite":{"id":2,"platform":"vm","path":"test\\main_test.dart"},"type":"suite","time":4}
{"test":{"id":3,"name":"loading test\\main_test.dart","suiteID":2,"groupIDs":[],"metadata":{"skip":false,"skipReason":null},"line":null,"column":null,"url":null},"type":"testStart","time":4}
{"count":2,"time":5,"type":"allSuites"}
{"testID":1,"result":"success","skipped":false,"hidden":true,"type":"testDone","time":1677}
{"testID":3,"messageType":"print","message":"Hello from the test","type":"print","time":1682}
{"testID":3,"result":"success","skipped":false,"hidden":true,"type":"testDone","time":1708}
{"group":{"id":4,"suiteID":2,"parentID":null,"name":"","metadata":{"skip":false,"skipReason":null},"testCount":0,"line":null,"column":null,"url":null},"type":"group","time":1709}
{"test":{"id":5,"name":"(setUpAll)","suiteID":2,"groupIDs":[4],"metadata":{"skip":false,"skipReason":null},"line":5,"column":3,"url":null},"type":"testStart","time":1709}
{"testID":5,"result":"success","skipped":false,"hidden":true,"type":"testDone","time":1717}
{"test":{"id":6,"name":"(tearDownAll)","suiteID":2,"groupIDs":[4],"metadata":{"skip":false,"skipReason":null},"line":6,"column":3,"url":null},"type":"testStart","time":1717}
{"testID":6,"result":"success","skipped":false,"hidden":true,"type":"testDone","time":1718}
{"success":true,"type":"done","time":1720}

0 comments on commit 1ed589a

Please sign in to comment.