I added a feature in my Java library for unit testing. In particular, I'm now using a reflection library (i.e. org.reflections:reflections vs. 0.9.10) to some no-argument constructors.
Apart from this background, my unit tests are running well in my IDE (IntelliJ 15.0.3), but some of them fail when I run mvn clean install
via command line.
The unit tests are in class ScanNoArgumentConstructorTest and the commit that has the failure is this one.
I assumed it was a Surefire issue, so I set the following configuration:
<configuration>
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
</configuration>
But apparently didn't help.
Does someone have any clue?
Aucun commentaire:
Enregistrer un commentaire