Version 7

    JBoss ESB Tests

     

    WARNING: this page under construction!!

     

    Use the following guidelines when writing tests for any source code.

     

    Each module contains a tests directory which will contain all the tests.

    There are 2 types of tests

     

    Unit Tests (spans a single unit/component)

     

     

    Test classes within this category must end in "UnitTest",

    examples are

    • - ClassUnitTest

    • - ComponentUnitTest

     

     

    Functional Tests (spans several units/components)

     

     

    Test classes within this category must end in "FuncTest",

    examples are

      • -UseCaseXFuncTest

      • - WorkflowXFuncTest

     

    The general structure now becomes:

     

     

    • src

    • tests

      • src

      • build.xml

    • build.xml

     

    The top level module build file will compile the module classes first ant then

    the tests by calling the tests build file.