10 Replies Latest reply on Oct 31, 2011 6:01 AM by Bartosz Majsak

    Arquillian and Unitils

    Bernard Labno Master

      Since Arquillian is meant for in-container testing, to test as much as possible, then what about database tests? In order to be repeatable we need some mechanism to prepare database state before each test. There is such tool, that Seam uses, called DbUnit. It however requires developer to write boilerplate code for loading datasets, etc.

      There is Unitils library that automates database state maintainance during tests but it requires that the test was run with UnitilsJUnit4TestClassRunner.

       

      Arquillian also needs it's own runner. How can those two tools be combined?