Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specflow Execution Report - Changes to MsTestToNunit.xslt file to add "Tags" as Categories in the NUnit Report #356

Merged
merged 3 commits into from Sep 18, 2014

Conversation

softwarecookie
Copy link
Contributor

Hi ,

The Feature file of Specflow supports "Tags" (e.g. @sit, @sut or @JiraNumber etc) where the developers can tag their scenarios/features as required. When we use Specflow.exe with mstestexecutionreport command this information is lost while transforming the .trx file to HTML output.

Therefore I've added a XSLT code for the same which would add a node as follows under "nunit:test-case" node

image

The users can thus take advantage of the tags and transform the output as per their needs. Further this would help the developers and stakeholders get a quick view of their test categories.

New Features:
+ Specflow Test execution report derived through MSTest or NUnit
displays the tags attached with each scenario or feature in a seperate
column viz. "Category"
+ Minor fix for a toggle functionality in the XSLT file to make it work
consistently with IE and Chrome.
New Features:
+ Specflow Test execution report derived through MSTest or NUnit
displays the tags attached with each scenario or feature in a seperate
column viz. "Category"
+ Minor fix for a toggle functionality in the XSLT file to make it work
consistently with IE and Chrome.
Added "nunit:category" node for representing tags when MSTest
Report(trx) is used for generating the Specflow report.
darrencauthon added a commit that referenced this pull request Sep 18, 2014
Specflow Execution Report - Changes to MsTestToNunit.xslt file to add "Tags" as Categories in the NUnit Report
@darrencauthon darrencauthon merged commit fe0b510 into SpecFlowOSS:master Sep 18, 2014
gasparnagy added a commit that referenced this pull request Dec 20, 2015
… "Tags" as Categories in the NUnit Report (PR #356)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants