mvn verify
All of Pivot4J's unit test cases are integration tests, which means they require a live database to run properly. Pivot4J provides a sample 'FoodMart' Derby database for that purpose, so you will need to start it before you can run the unit tests from Eclipse.
From the project root directory(i.e. pivot4j-core), run below command to start Derby database :
mvn derby:run
To stop the database, just press CTRL-C or run below command from another terminal :
mvn derby:stop
If you just want to run all the tests from command line, just run below command. Derby database will start and stop automatically during the test phase :
mvn verify
Note that you need to run 'mvn verify' at least once to extract the FoodMart database archive to proper place before you can run unit tests within Eclipse IDE. This applies also to the case when you clean the build directory after running 'mvn verify'.