hi tom,

just create junit/cdi-tests with the help of [1].

regards,
gerhard

[1] http://deltaspike.apache.org/documentation/test-control.html



2018-03-24 11:58 GMT+01:00 Thomas Lustig <[email protected]>:

> Dear community,
>
> I really like using the Deltaspikes Datamodule with its Repositories.
> To improve in productivity and lower the Errors i am also writing Unittests
> via JUnit.
> Before i used DBUnit with Plain JPA/Hibernate inside the testcases, but i
> would like
> to test my deltaspike JPA repositories via JUnit - or maybe enhanced with
> DBUnit.
> Are there any best practises or ways how to do this?
> I found some integration project that combines dbunit with Deltaspike, but
> i was not able to getit running with Hibernate JPA Provider.
>
> https://github.com/lbitonti/deltaspike-dbunit
>
> Thanking you very much in advance for any help
>
> Br Tom
>

Reply via email to