exercism / java-test-runner

GNU Affero General Public License v3.0
9 stars 13 forks source link

Fix error when running JUnit 5 tests using `@Nested` #71

Closed sanderploegsma closed 1 year ago

sanderploegsma commented 1 year ago

This is related to #69 and fixes an issue where test method sources in nested classes are not mapped correctly to the tests. Note that this only fixes compatibility with JUnit 5 and the @Nested annotation, as a different issue with JUnit 4 causes each test to be run twice.