JUnit reporter can handle test Pass and test Failure but it cannot handle a test Error, e.g. server timeout, misconfiguration, arbitrary test implementation error.
Thank you for using the v2 branch! The v2 branch is currently under development and this is a bug. The fixes are landed in ce1dece4c6e4ae24a6a83bf77a084a34dd6b9e3f and 9ab46960ed7b45d6f44930591996e680e68d97bc.
JUnit reporter can handle test Pass and test Failure but it cannot handle a test Error, e.g. server timeout, misconfiguration, arbitrary test implementation error.
Example
/home/karm/go/src/github.com/Karm/h2spec/bin/h2spec -h 192.168.122.204 -k --junit-report junit.report -p 3443 -t -v
Actual result
Expected
Correct JUnit report saying that such and such test ended up with an Error, not Failure. e.g. Timeout: