Parent test results are consistently removed if subtests results are present. I don't make a distinction between failed or passed because the otherwise the number of tests would change depending on failed or passed and the parent results is just as unhelpful in case of pass as it is in case of fail.
I checked that no existing test files include assertions/ outputs outside of the subtest.
I added an extra sentence to the readme to explain this new logic.
Fixes #8 in the way suggested here https://github.com/exercism/go-test-runner/issues/8#issuecomment-932854153.
Parent test results are consistently removed if subtests results are present. I don't make a distinction between failed or passed because the otherwise the number of tests would change depending on failed or passed and the parent results is just as unhelpful in case of pass as it is in case of fail.
I checked that no existing test files include assertions/ outputs outside of the subtest. I added an extra sentence to the readme to explain this new logic.