Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 620 Bytes

test_runner.md

File metadata and controls

15 lines (12 loc) · 620 Bytes

Test Runner

If you make your test bundle CFC inherit from our testbox.system.BaseSpec class, you will be able to execute the CFC directly via the URL:

http://localhost/test/MyTest.cfc?method=runRemote

You can also pass the following arguments to the method via the URL:

  • testSuites : A list or array of suite names that are the ones that will be executed ONLY!
  • testSpecs : A list or array of test names that are the ones that will be executed ONLY!
  • reporter : The type of reporter to run the test with
http://localhost/test/MyTest.cfc?method=runRemote&reporter=json