UnitTestHarness  1.0
Unit Testing Tool
 All Data Structures Namespaces Files Functions Variables Pages
README

#Unit Testing - Configuration XML Structure


The default XML file being used is unitTestConfiguration.xml . Your XML file should contain the following tags :

  • data
    • source : Should be repeated for each different source location.
      • comment : (optional)
      • name : This will be the name of the directory the source is downloaded into.
      • sourceType : Should be either LOCAL, SVN, HTTP or PUTTY. (HTTP_ZIP is used for the fw installation tool.)
      • sourceLocation : The location the source will be downloaded from.
      • components : (optional) If you do not wish to test any of the components within this source location, then no components tag should be given.
        • component : (optional) If you want to test all components then do not given a component tag. Multiple component tags can be given to test many components. Give the name of the component's XML definition file.
          • testSuite : (optional) If you want to run all test suites, for this component, then do not given a testSuite tag. Multiple testSuite tags can be given to run many test suites. Give the name of the testSuite CTRL file.
            • testCase : (optional) If you want to run all test cases, for this testSuite, then do not given a testCase tag. Multiple testCase tags can be given to run many test cases. Give the name of the testCase routine.

Examples have been given in UnitTestDirectory/Config/*.xml.