joshdk / go-junit

🐜 Go library for ingesting JUnit XML reports
MIT License
59 stars 21 forks source link

Support for nested test suites #37

Closed ekharchenko-avito closed 4 years ago

ekharchenko-avito commented 4 years ago
ekharchenko-avito commented 4 years ago

Would it make any sense to flatten the structure into something like this:

That don't make sense for my use case. That will give /untitled/tests.SampleTest.SampleTest::testB in an example PHPUnit file which is a mess of original command line tests selector, class name, and test method name. Don't really want to parse-out those parts from the flattened name in production code.

joshdk commented 4 years ago

Apologies for the delay @ekharchenko-avito. Thank you so much for your contribution! 🎉