Skip to content

Commit

Permalink
adding skip messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Jun 11, 2021
1 parent 2335ae0 commit ee18f4a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion system/reports/assets/simple.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,11 @@ code {
<cfloop array="#arguments.suiteStats.specStats#" index="local.thisSpec">
<!--- Spec Results --->
<li class="spec list-group-item #local.thisSpec.status#" data-bundleid="#arguments.bundleStats.id#" data-specid="#local.thisSpec.id#">
<li
class="spec list-group-item #local.thisSpec.status#"
data-bundleid="#arguments.bundleStats.id#"
data-specid="#local.thisSpec.id#"
>
<div class="clearfix">
<a
class="alert-link text-#statusToBootstrapClass( local.thisSpec.status )#"
Expand Down
3 changes: 2 additions & 1 deletion tests/specs/BDDTest.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ component extends="testbox.system.BaseSpec" {
body = function(){
fail( "Skipped programmatically, this should fail" );
},
skip = function(){
skip = function( spec ){
spec.name &= " - skipping this because I can!!!";
return true;
}
);
Expand Down

0 comments on commit ee18f4a

Please sign in to comment.