Replies: 1 comment
-
In Ruby, rspec also has this concept (although named differently [contexts]). Each subtest is just a test. I believe in most rspec test reporting outputs, the subtest name is prefixed with the test/context name. Could you flatten your output in such a way to fit CTRF? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm primarily a perl dev, but came across CTRF when one of my more JS-ish colleagues used it. Obviously having only one format for test reports in a multi-language project is a Good Thing, so I thought I'd look at writing a formatter along the lines of TAP::Formatter::JUnit to spit out CTRF. Alas, it isn't possible, because perl's standard testing tools and TAP support arbitrarily deeply nested "subtests":
If you extend the schema to allow a
tests
object in atest
then I could do it.Beta Was this translation helpful? Give feedback.
All reactions