ColdBox Platform v3.8.0

coldbox.system.testing.compat.runner
Class DirectoryTestSuite

WEB-INF.cftags.component
        extended by coldbox.system.testing.compat.runner.DirectoryTestSuite

public class DirectoryTestSuite
extends WEB-INF.cftags.component

MXUnit Compat Automatic Test Suite Runner

Method Summary
remote string getComponentPath(string path)
          Given a directory path, returns the corresponding CFC package according to CFMX
 any run(any directory, [any componentPath=''], [boolean recurse='true'], [any excludes=''])
          Runs a directory of tests via TestBox
 
Methods inherited from class WEB-INF.cftags.component
None
 

Method Detail

getComponentPath

remote string getComponentPath(string path)
Given a directory path, returns the corresponding CFC package according to CFMX

Parameters:
path

run

public any run(any directory, [any componentPath=''], [boolean recurse='true'], [any excludes=''])
Runs a directory of tests via TestBox

Parameters:
directory - directory of tests to run
componentPath - the component path to put in front of all tests found (i.e. 'com.blah'). If no path is passed, we'll attempt to discover it ourselves
recurse - whether to recurse down the directory tree
excludes - list of Tests, in cfc notation, to exclude. uses ListContains so it's as greedy as possible. Currently does not support ant-style syntax or whole-directory filtering

ColdBox Platform v3.8.0