EasyBeans is an open source implementation by ObjectWeb of the EJB3 container specification. 
X Wiki

7.3. Methodology for writing tests

  • It is highly recommended the use of inheritance and generics types to avoid code duplication.

    The tests must be independents, so after a test execution everything must be clear. It makes possible to run the same test many times without problems.

  • In the test methods, the try/catch is used only when the exception is expected.

Copyright © 2006 EasyBeans / ObjectWeb consortium

http://www.easybeans.org