Text file src/cmd/internal/test2json/testdata/issue29755.json

     1  {"Action":"run","Test":"TestOutputWithSubtest"}
     2  {"Action":"output","Test":"TestOutputWithSubtest","Output":"=== RUN   TestOutputWithSubtest\n"}
     3  {"Action":"run","Test":"TestOutputWithSubtest/sub_test"}
     4  {"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":"=== RUN   TestOutputWithSubtest/sub_test\n"}
     5  {"Action":"run","Test":"TestOutputWithSubtest/sub_test/sub2"}
     6  {"Action":"output","Test":"TestOutputWithSubtest/sub_test/sub2","Output":"=== RUN   TestOutputWithSubtest/sub_test/sub2\n"}
     7  {"Action":"run","Test":"TestOutputWithSubtest/sub_test2"}
     8  {"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"=== RUN   TestOutputWithSubtest/sub_test2\n"}
     9  {"Action":"run","Test":"TestOutputWithSubtest/sub_test2/sub2"}
    10  {"Action":"output","Test":"TestOutputWithSubtest/sub_test2/sub2","Output":"=== RUN   TestOutputWithSubtest/sub_test2/sub2\n"}
    11  {"Action":"output","Test":"TestOutputWithSubtest","Output":"--- FAIL: TestOutputWithSubtest (0.00s)\n"}
    12  {"Action":"output","Test":"TestOutputWithSubtest","Output":"    foo_test.go:6: output before sub tests\n"}
    13  {"Action":"output","Test":"TestOutputWithSubtest","Output":"    foo_test.go:10: output from root test\n"}
    14  {"Action":"output","Test":"TestOutputWithSubtest","Output":"    foo_test.go:15: output from root test\n"}
    15  {"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":"    --- PASS: TestOutputWithSubtest/sub_test (0.00s)\n"}
    16  {"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":"        foo_test.go:9: output from sub test\n"}
    17  {"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":"        foo_test.go:11: more output from sub test\n"}
    18  {"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":"        foo_test.go:16: more output from sub test\n"}
    19  {"Action":"output","Test":"TestOutputWithSubtest/sub_test/sub2","Output":"        --- PASS: TestOutputWithSubtest/sub_test/sub2 (0.00s)\n"}
    20  {"Action":"output","Test":"TestOutputWithSubtest/sub_test/sub2","Output":"            foo_test.go:14: output from sub2 test\n"}
    21  {"Action":"output","Test":"TestOutputWithSubtest","Output":"    foo_test.go:22: output from root test\n"}
    22  {"Action":"output","Test":"TestOutputWithSubtest","Output":"    foo_test.go:27: output from root test\n"}
    23  {"Action":"pass","Test":"TestOutputWithSubtest/sub_test/sub2"}
    24  {"Action":"pass","Test":"TestOutputWithSubtest/sub_test"}
    25  {"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"    --- PASS: TestOutputWithSubtest/sub_test2 (0.00s)\n"}
    26  {"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"        foo_test.go:21: output from sub test2\n"}
    27  {"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"        foo_test.go:23: more output from sub test2\n"}
    28  {"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"        foo_test.go:28: more output from sub test2\n"}
    29  {"Action":"output","Test":"TestOutputWithSubtest/sub_test2/sub2","Output":"        --- PASS: TestOutputWithSubtest/sub_test2/sub2 (0.00s)\n"}
    30  {"Action":"output","Test":"TestOutputWithSubtest/sub_test2/sub2","Output":"            foo_test.go:26: output from sub2 test\n"}
    31  {"Action":"output","Test":"TestOutputWithSubtest","Output":"    foo_test.go:32: output after sub test\n"}
    32  {"Action":"pass","Test":"TestOutputWithSubtest/sub_test2/sub2"}
    33  {"Action":"pass","Test":"TestOutputWithSubtest/sub_test2"}
    34  {"Action":"fail","Test":"TestOutputWithSubtest"}
    35  {"Action":"output","Output":"FAIL\n"}
    36  {"Action":"output","Output":"FAIL\tgotest.tools/gotestsum/foo\t0.001s\n"}
    37  {"Action":"output","Output":"FAIL\n"}
    38  {"Action":"fail"}
    39  

View as plain text