|
1 | 1 | <cfsetting showDebugOutput="false"> |
2 | 2 | <!--- Executes all tests in the 'specs' folder with simple reporter by default ---> |
3 | | -<cfparam name="url.reporter" default="simple"> |
4 | | -<cfparam name="url.directory" default="tests.specs"> |
5 | | -<cfparam name="url.recurse" default="true" type="boolean"> |
6 | | -<cfparam name="url.bundles" default=""> |
7 | | -<cfparam name="url.labels" default=""> |
8 | | -<cfparam name="url.reportpath" default="#expandPath( "/tests/results" )#"> |
| 3 | +<cfparam name="url.reporter" default="simple"> |
| 4 | +<cfparam name="url.directory" default="tests.specs"> |
| 5 | +<cfparam name="url.recurse" default="true" type="boolean"> |
| 6 | +<cfparam name="url.bundles" default=""> |
| 7 | +<cfparam name="url.labels" default=""> |
| 8 | +<cfparam name="url.excludes" default=""> |
| 9 | +<cfparam name="url.reportpath" default="#expandPath( "/tests/results" )#"> |
9 | 10 | <cfparam name="url.propertiesFilename" default="TEST.properties"> |
10 | 11 | <cfparam name="url.propertiesSummary" default="false" type="boolean"> |
| 12 | +<cfparam name="url.editor" default="vscode"> |
| 13 | +<cfparam name="url.bundlesPattern" default="*Spec*.cfc|*Test*.cfc|*Spec*.bx|*Test*.bx"> |
| 14 | + |
| 15 | +<!--- Streaming mode: streams results via Server-Sent Events (SSE) for real-time progress ---> |
| 16 | +<cfparam name="url.streaming" default="false" type="boolean"> |
| 17 | +<cfparam name="url.dryRun" default="false" type="boolean"> |
11 | 18 |
|
12 | 19 | <!--- Code Coverage requires FusionReactor ---> |
13 | 20 | <cfparam name="url.coverageEnabled" default="false"> |
14 | | -<cfparam name="url.coveragePathToCapture" default="#expandPath( '/qb' )#"> |
| 21 | +<cfparam name="url.coveragePathToCapture" default="#expandPath( '/root' )#"> |
15 | 22 | <cfparam name="url.coverageWhitelist" default=""> |
16 | | -<cfparam name="url.coverageBlacklist" default="/testbox,/tests,/docs,/modules"> |
17 | | -<cfparam name="url.coverageBrowserOutputDir" default="#expandPath( '/tests/results/coverageReport' )#"> |
| 23 | +<cfparam name="url.coverageBlacklist" default="/testbox,/coldbox,/tests,/modules,Application.cfc,/index.cfm,Application.bx,/index.bxm"> |
| 24 | +<!---<cfparam name="url.coverageBrowserOutputDir" default="#expandPath( '/tests/results/coverageReport' )#">---> |
| 25 | +<!---<cfparam name="url.coverageSonarQubeXMLOutputPath" default="#expandPath( '/tests/results/SonarQubeCoverage.xml' )#">---> |
| 26 | +<!--- Enable batched code coverage reporter, useful for large test bundles which require spreading over multiple testbox run commands. ---> |
| 27 | +<!--- <cfparam name="url.isBatched" default="false"> ---> |
18 | 28 |
|
19 | | -<!--- Include the TestBox HTML Runner ---> |
20 | | -<cfinclude template="/testbox/system/runners/HTMLRunner.cfm" > |
| 29 | +<!--- Include the appropriate runner based on streaming mode ---> |
| 30 | +<cfif url.streaming && !url.dryRun> |
| 31 | + <!--- Stream results in real-time via SSE ---> |
| 32 | + <cfinclude template="/testbox/system/runners/StreamingRunner.cfm"> |
| 33 | +<cfelse> |
| 34 | + <!--- Traditional batch results ---> |
| 35 | + <cfinclude template="/testbox/system/runners/HTMLRunner.cfm"> |
| 36 | +</cfif> |
0 commit comments