Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thrawn01/spring-jersey-hibernate-dbunit-example
This is an example project for REST webservice builders that use Spring 3.0, Jersey, JPA, and Unit test it all with DbUnit
https://github.com/thrawn01/spring-jersey-hibernate-dbunit-example
Last synced: 5 days ago
JSON representation
This is an example project for REST webservice builders that use Spring 3.0, Jersey, JPA, and Unit test it all with DbUnit
- Host: GitHub
- URL: https://github.com/thrawn01/spring-jersey-hibernate-dbunit-example
- Owner: thrawn01
- Created: 2010-11-22T22:26:41.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2016-09-27T17:21:54.000Z (about 8 years ago)
- Last Synced: 2023-04-11T05:18:28.797Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 58.6 KB
- Stars: 14
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
An example of using Spring 3.0 with Jersey, Hibernate and DbUnit
== How to run the unit tests ==
mvn test== How do I run the unit tests under Eclipse ==
Short Answer
Add the target/test-classes to the class pathLong Answer
Try running the Unit Tests first. Right Click on the project in eclipse and select
'Run As' > 'JUnit Test' After the test fails. Click 'Run' > 'Run Configurations...'
and select 'Spring-Jersey-JPA-DbUnit-Example' Click on the 'Classpath' tab, and in
the Classpath view, select 'User Entries'. Click the 'Advanced' button in the dialog
box, select 'Add Folders' and click 'OK'. In the next dialog box, Navigate to
'Spring-Jersy-JPA-DbUnit-Example > target' and select the directory 'test-classes'
and press the 'OK' buttonNow Apply and 'Run' and the unit tests should run fine.