vkostyukov / la4j

Linear Algebra for Java
http://la4j.org
Apache License 2.0
373 stars 109 forks source link

Why the tests run twice? #250

Closed vkostyukov closed 9 years ago

vkostyukov commented 9 years ago

The question is probably addressed to @SamoylovMD, since he has enabled the JUnit 4. I'm pretty sure, every test runs twice. Can we fix it?

DWiechert commented 9 years ago

Are maybe some of the test classes in multiple suites? Also, could it be that there seems to be an over-arching suite which calls all sub-suites?

DWiechert commented 9 years ago

Also, are those test suites even necessary any more with JUnit4? All tests should be annotated with @Test and get picked up automatically as long as the class ends with Test.

vkostyukov commented 9 years ago

That's might be true. I don't think we need those aggregating classes.

DWiechert commented 9 years ago

Glad it was just those suite classes calling each test 2 times.

SamoylovMD commented 9 years ago

Sorry for that :) Missed "Run All Tests" option in my IDE and reinvented the wheel.