The test suite contains:
build.xml
- ant file to build, install and
run the tests.
tests-common.xml
- ant file with the common
definitions for all ant files.
tests-functions.xml
- ant file with common
functions for all ant files.
src directory
- contains the source
files.
lib directory
- contains the libraries used
in the tests.
conf directory
- contains the files used to
configure the tests.
examples directory
- contains the examples
files.
The source directory contains all test cases as well as the auxiliary
classes used to make the tests. These sources are divided in packages by
functionality. The src/java
folder has the package
org.objectweb.easybeans.tests which contains the follows
packages:
annotations - tests cases for verifying the annotations.
common - contains all support classes to do the tests.
asserts - contains alternative assert classes that are used during the tests.
core - contains the classes that extends the server features.
db - contains the classes that manipulates the database.
ejbs - contains the beans that are used in the tests.
enhancer - contains the classes that are used to test the enhancer.
exception - contains exceptions used during the test.
helper - contains the helper classes.
inheritance - contains the classes that are used in the inheritance tests.
interceptors - contains the classes that are used in the interceptor tests.
interfaces - contains the common interfaces that are used by different classes ( beans, test class and others).
resources - contains the classes that are used in the resource tests.
deploymentdesc - tests cases for verifying the deployment descriptor.
enhancer - tests cases for verifying the enhancer.
inheritance - tests cases for verifying the inheritance.
interceptors - tests cases for verifying the interceptors.
transaction - tests cases for verifying the transaction.
taglets - contains javadoc tags used to format correctly the documentation.
The file src/java/testng_conformance.xml
makes
possible to run all tests in the same time. However, it is possible to
execute a group of tests individually by using the XML file available in
each test case package.