coldbox.system.testing.compat.framework

Class TestSuite

WEB-INF.cftags.component
        extended by coldbox.system.testing.compat.framework.TestSuite
Class Attributes:
  • accessors : true
  •  

    MXUnit compatibility for Test Suites

    Property Summary
    type property default serializable required
    any bundles


    true false
    any testSpecs


    true false
    Method Summary
    any GETBUNDLES()
    any GETTESTSPECS()
    TestSuite SETBUNDLES(any bundles)
    TestSuite SETTESTSPECS(any testSpecs)
    remote any add(any componentName, any methods)
    remote any addAll(any componentName)
    remote any addTest(any componentName, any method)
    remote any run([any testMethod=''])
    remote any runTestRemote([any testMethod=''], [boolean debug='false'], [any output='simple'])
         Run a test remotely like MXUnit.
    any testSuite()
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Property Detail

    bundles

    property any bundles

    Attributes:
    serializable - true
    required - false

    testSpecs

    property any testSpecs

    Attributes:
    serializable - true
    required - false

    Method Detail

    GETBUNDLES

    public any GETBUNDLES()


    GETTESTSPECS

    public any GETTESTSPECS()


    SETBUNDLES

    public TestSuite SETBUNDLES(any bundles)

    Parameters:
    bundles

    SETTESTSPECS

    public TestSuite SETTESTSPECS(any testSpecs)

    Parameters:
    testSpecs

    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

    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

    testSuite

    public any testSuite()