I have some normal JUnit tests and one file using ...
# spek
o
I have some normal JUnit tests and one file using Spek. I am trying to have all tests run regardless of whether they are Spek or regular JUnit. Now I can only get the Spek to run. I am using Maven. My output looks like this:
Copy code
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
feb 18, 2017 9:06:30 PM org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry loadTestEngines
INFO: Discovered TestEngines with IDs: [spek]
Running okkero.okommand.CommandBuildersTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec - in okkero.okommand.CommandBuildersTest
Running okkero.okommand.CommandSystemConvenienceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in okkero.okommand.CommandSystemConvenienceTest
Running okkero.okommand.CommandSystemTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in okkero.okommand.CommandSystemTest

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.030 s
[INFO] Finished at: 2017-02-18T21:06:33+01:00
[INFO] Final Memory: 37M/434M
[INFO] ------------------------------------------------------------------------
Looks like it is acknowledging all the tests, but decides only to run the Spek one. Is this a known limitation or am I doing something wrong?