testbox.system.compat.framework

Class TestSuite

railo-context.Component
        extended by testbox.system.compat.framework.TestSuite
Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  

    MXUnit compatibility for Test Suites

    Property Summary
    type property default serializable required
    any bundles


    true false
    any testSpecs


    true false
    Method Summary
    remote any add(any componentName, any methods)
    remote any addAll(any componentName)
    remote any addTest(any componentName, any method)
    string getBundles()
    string getTestSpecs()
    remote any run([any testMethod=''])
    remote any runTestRemote([any testMethod=''], [boolean debug='false'], [any output='simple'])
         Run a test remotely like MXUnit.
    any setBundles(any bundles)
    any setTestSpecs(any testSpecs)
    any testSuite()
     
    Methods inherited from class railo-context.Component
    None

    Property Detail

    bundles

    property any bundles

    Attributes:
    required - false
    serializable - true

    testSpecs

    property any testSpecs

    Attributes:
    required - false
    serializable - true

    Method Detail

    add

    remote any add(any componentName, any methods)

    Parameters:
    componentName
    methods

    addAll

    remote any addAll(any componentName)

    Parameters:
    componentName

    addTest

    remote any addTest(any componentName, any method)

    Parameters:
    componentName
    method

    getBundles

    public string getBundles()


    getTestSpecs

    public string getTestSpecs()


    run

    remote any run([any testMethod=''])

    Parameters:
    testMethod

    runTestRemote

    remote any runTestRemote([any testMethod=''], [boolean debug='false'], [any output='simple'])

    Run a test remotely like MXUnit

    Parameters:
    testMethod - A list or array of test names that are the ones that will be executed ONLY!
    debug - Show debug output on the reports or not
    output - The type of reporter to run the test with

    setBundles

    public any setBundles(any bundles)

    Parameters:
    bundles

    setTestSpecs

    public any setTestSpecs(any testSpecs)

    Parameters:
    testSpecs

    testSuite

    public any testSuite()