-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8df4b29
commit cbd0d00
Showing
3 changed files
with
115 additions
and
7 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/test/groovy/com/athaydes/spockframework/report/FullyIgnoredSpec.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.athaydes.spockframework.report | ||
|
||
import spock.lang.Ignore | ||
import spock.lang.Specification | ||
|
||
@Ignore | ||
class FullyIgnoredSpec extends Specification { | ||
def 'feature1'() { | ||
expect: true | ||
} | ||
|
||
def 'feature2'() { | ||
expect: true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 87 additions & 0 deletions
87
src/test/resources/com/athaydes/spockframework/report/internal/FullyIgnoredSpecReport.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'></meta> | ||
<style> | ||
${style} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<h2>Report for ${classOnTest}</h2> | ||
<hr></hr> | ||
<div class='back-link'> | ||
<a href='index.html'><< Back</a> | ||
</div> | ||
<div class='summary-report'> | ||
<h3>Summary:</h3> | ||
<div class='date-test-ran'>Created on ${dateTestRan} by ${username}</div> | ||
<table class='summary-table'> | ||
<thead> | ||
<tr> | ||
<th>Executed features</th> | ||
<th>Passed</th> | ||
<th>Failures</th> | ||
<th>Errors</th> | ||
<th>Skipped</th> | ||
<th>Success rate</th> | ||
<th>Time</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>${executedFeatures}</td> | ||
<td>${passed}</td> | ||
<td>${failures}</td> | ||
<td>${errors}</td> | ||
<td>${skipped}</td> | ||
<td>${successRate}</td> | ||
<td>${time}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<h3>Features:</h3> | ||
<table class='features-table'> | ||
<colgroup> | ||
<col class='block-kind-col'></col> | ||
<col class='block-text-col'></col> | ||
</colgroup> | ||
<tbody> | ||
<div>TOC</div> | ||
<tr> | ||
<td colspan='10'> | ||
<div class='feature-description failure' id='0'><span>feature1</span><span class='return-toc'> | ||
<a href='#toc'>Return</a> | ||
<div class='ex-time'>(Unknown)</div></span></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<div class='block-kind'>Expect:</div> | ||
</td> | ||
<td> | ||
<div class='block-text'></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan='10'> | ||
<div class='feature-description failure' id='0'><span>feature2</span><span class='return-toc'> | ||
<a href='#toc'>Return</a> | ||
<div class='ex-time'>(Unknown)</div></span></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<div class='block-kind'>Expect:</div> | ||
</td> | ||
<td> | ||
<div class='block-text'></div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<hr></hr> | ||
<div class='footer'>Generated by <a href='${projectUrl}'>Athaydes Spock Reports</a></div> | ||
</body> | ||
</html> |