Skip to content

XUnit formatter and improvements to NSpecRunner - #50

Merged
amirrajan merged 1 commit into
nspec:masterfrom
Nivio:master
Mar 6, 2013
Merged

amirrajan merged 1 commit into
nspec:masterfrom
Nivio:master

Conversation

@cdmicacc

Copy link
Copy Markdown
Contributor

I've implemented a formatter that outputs XUnit-style XML (for use e.g. in Jenkins). I also changed NSpecRunner so that you can specify the formatter to use on the command line. A final change was made to allow NSpecRunner to load assemblies from network shares.

@amirrajan

Copy link
Copy Markdown
Collaborator

Awesome, I'll hopefully get a chance to look at it this weekend.

@amirrajan
amirrajan merged commit 837cc03 into nspec:master Mar 6, 2013
@amirrajan

Copy link
Copy Markdown
Collaborator

The change is in 0.9.65

@ryan-boder-zz

Copy link
Copy Markdown

Just to clarify, does this mean we can run NSpec 0.9.68 tests automatically as part of our build process in Jenkins?

@ryan-boder-zz ryan-boder-zz mentioned this pull request Nov 3, 2014
@amirrajan

Copy link
Copy Markdown
Collaborator

I think @mattflo has these tests running in CI also (I think Team City)

@ryan-boder-zz

Copy link
Copy Markdown

Good to know. Hopefully he can reply this this question? #74

Is that a yes on NSpec and Jenkins? If so, is there any example of how to get that working?

@mattflo

mattflo commented Nov 3, 2014

Copy link
Copy Markdown
Collaborator

As long as your build server allows running commands on the command line (I'm pretty sure Team City and Jenkins do), you can certainly use nspec as a part of your build. I've used both of those years ago. Currently we use bamboo.

This pull request was to add a formatter that output xunit style xml that many build servers will then parse and present more detailed information about the test suite. I've not ever personally used this functionality.

@ryan-boder-zz ryan-boder-zz mentioned this pull request Nov 4, 2014
@FranklinYu FranklinYu mentioned this pull request Aug 24, 2017
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.

4 participants