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