Let's look through the basic API , which will help you to build your own test. This document is not a complete API reference and its intention is to give you a general idea of the methods usage and availability.
AbstractDb4oTestCase is a base class for creating test cases. It will setup a db4o instance for you which you can use in your tests. Additionally it provides different utility methods for configuring, querying and modifying the database.
Additionally it contains methods to run the test. You can create new instance of a class which extends AbstractDb4oTestCase and run the test in different environments. For example the method 'runSolo' will run the test with an embedded local container.
This interface provides the basic for a unit test in the db4ounit framework. When you implement this interface the class is a valid unit test. All methods starting with 'test' will be executed as test.
For most tests it is more continent to use the AbstractDb4oTestCase.
This interface provides a test case with additional setup and tear down methods. Those will be called before and after each test method
A test-runner which runs the tests as console application.
Usually it's more convenient to extend the AbstractDb4oTestCase class and use the provided run methods instead of the console test runner.
This class provides a variety of methods for asserting certain conditions