deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gpetra...@apache.org>
Subject Re: deltaspike dbunit
Date Tue, 16 Feb 2016 17:18:44 GMT
hi luigi,

it's great that you share it with the community!
we can link it in our documentation!

regards,
gerhard



2016-02-16 11:40 GMT+01:00 Luigi Bitonti <uknadors@yahoo.com.invalid>:

> Hi All,
>
> I've released recently a library that allows integration between
> Deltaspike TestControl and DBUnit. It allows, using simple annotations, to
> setup and teardown database tables as well as checking expected table
> contents once a test completes.
>
> Basically something like:
>
>
> @DatabaseTest@DatabaseSetup("../setup-db.xml")
> ....
> @ExpectedDatabase(value = "extra_and_default_category-expected.xml",
> assertionMode = DatabaseAssertionMode.NON_STRICT_UNORDERED)
>
>
> More information is available at:
>
> http://lbitonti.github.io/deltaspike-dbunit/
> https://github.com/lbitonti/deltaspike-dbunit
>
>
> It's essentially a port of springtest-dbunit, for those familiar with it,
> to cdi/deltaspike.
> Hopefully it will be useful to other people as well. Feedback welcome.
>
> Cheers,
> Luigi
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message