Skip to content

Commit

Permalink
Merge pull request #7 from Ortus-Solutions/AddRunnersToTestBrowser
Browse files Browse the repository at this point in the history
Add Runners to Test Browser
  • Loading branch information
lmajano authored Oct 5, 2023
2 parents 179fd65 + 8c3a614 commit e0bbb5d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions templates/testbox/test-browser/index.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@
<a href="index.cfm?action=runTestBox&path=#URLEncodedFormat( url.path )#" target="_blank"><button class="btn btn-primary btn-sm my-1" type="button">Run All</button></a>
</div>
</div>
<!--- Runners --->
<div class="row">
<div class="col-md-12 mb-4">
<h2>Availble Test Runners: </h2>
<p>
Below is a listing of the runners matching the "runner*.cfm" pattern.
</p>
<cfset runners = directoryList( expandPath( "./" ), false, "query", "runner*.cfm" )>
<cfoutput query="runners">
<a href="#runners.name#" target="_blank" class="btn btn-secondary btn-sm my-1 mx-1">#runners.name#</a>
</cfoutput>
</div>
</div>
<div class="row">
<div class="col-md-12">
<form name="runnerForm" id="runnerForm">
Expand Down

0 comments on commit e0bbb5d

Please sign in to comment.