Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Initial Outputline

...

  • Functional description of what is being tested.
  • Input(actions and/or data)
  • Expected outputs:
      o
      • ... that will cause failure
      o
      • ... that can safely be ignored.

    These details will then be used as the basis of each test that is created allowing for better maintainability in the test code.

    Operational Test Cases

    Table of Contents
    minLevel6
    maxLevel6

    This section enumerates the various operational tests described in the Test Plan identified from the Functional Specification. This text should form the basis of the Technial Documenation for the specified test class.

    Broker Test Suite

    The Broker test suite validates that the follow log messages as specified in the Functional Specification.

    No Format
    
    BRK-1001 : Startup : Version: <Version> Build: <Build>
    BRK-1002 : Starting : Listening on <Transport> port <Port>
    BRK-1003 : Shuting down : <Transport> port <Port>
    BRK-1004 : Ready
    BRK-1005 : Stopped
    BRK-1006 : Using configuration : <path>
    BRK-1007 : Using logging configuration : <path>
    

    These messages should only occur during startup. The tests need to verify the order of messages. In the case of the BRK-1002 and BRK-1003 the respective ports should only be available between the two log messages.

    ...

    testBrokerStartupConfiguration

    ...

    Description: On startup the broker must report the active configuration file. The logging system must output this so that we can know what configuration is being used for this broker instance.
    Input: The value of -c specified on the command line.
    Output:

    No Format
    titleExpected Output
    
    <date> MESSAGE BRK-1006 : Using configuration : <config file>
    

    Constraints:
    This MUST BE the first BRK log message.
    Validation Steps:

    1. This is first BRK log message.
    2. The BRK ID is correct
    3. The config file is the full path to the file specified on the commandline.

    Description:
    Input:
    Output:

    No Format
    titleExpected Output

    Constraints:
    Validation Steps:

    2009-07-09 15:50:20 +0100 MESSAGE BRK-1007 : Using logging configuration : build/etc/log4j.xml
    2009-07-09 15:50:20 +0100 MESSAGE BRK-1001 : Startup : Version: 0.6 Build: <svn revision>
    2009-07-09 15:50:20 +0100 MESSAGE BRK-1002 : Starting : Listening on TCP port 5672
    2009-07-09 15:50:20 +0100 MESSAGE BRK-1004 : Ready

    Description:
    Input:
    Output:

    No Format
    titleExpected Output

    Constraints:
    Validation Steps:TBC

    Performance Test Cases

    TBC