Running a single test broken?


#1

In attempting to make some headway on LDEV-907, we were trying to just run the tests for that bug. We were not able to find a way to run a single test. According to what we think are the applicable test runner docs, we thought that running mvn -Dtest=LDEV0907 test should do it, but that results in:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project lucee: No tests were executed!  (Set -DfailIfNoTests=false to ignore this error.) -> [Help 1]

According to my colleague’s research, “the flag for running a single test file was broken from surefire 2.10 through 2.13 and Lucee is currently set to use 2.12”. I can’t figure out how to update surefire, since “surefire” doesn’t appear anywhere in the repo as far as I can see. Is there a way we can update surefire to make it possible to run a single test?