rcasia / neotest-java

Neotest adapter for Java.
MIT License
42 stars 23 forks source link

Add -parameters flag #126

Closed massix closed 3 months ago

massix commented 3 months ago

Hello, most frameworks are using reflection mechanism to automatically detect a variable by its name (for example Spring's @PathVariable), and in order to make it work we have to compile the tests using the -parameters flag, otherwise the parameter's information will be skipped at compilation time and the tests will fail.

This simple PR adds the -parameters flag to the compilation phase.