How do you deal with tests printing output that gets intermixed with the json produced by -json? For example if a test prints out something without ending in a \n and now you have a single line of output from go test that contains both json test results & unit test output..
Maybe you regex each line looking for valid json documents that represent the test results..hmm..