timyas / java-muster

Java model project
0 stars 0 forks source link

Add the JUnit tests for create, update, delete, read operations. #3

Open peterarsentev opened 8 years ago

peterarsentev commented 8 years ago

You need to add junit library to maven depedencies. Then. you need to add the services for all your modules, which will do create, update, detele, read operations. Tests should execute by signle commands mvn test. Importact. You should add the additional hibernate congifuration for in test resources, which will use test database. There, you should have two database: one production, and another for tests.