The first build was successful, but it didn’t run the unit tests. The build log contained the following warning:
No test found. Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again.Of course, I was missing the NUnit test adapter on the build server. The article on how to Run tests in your build documents how to resolve this in the Q/A section — but that solution involves checking in binaries and tweaking your build definition. I’m not a big fan of that approach and fortunately there’s another way to solve this.
It turns out that there’s a NUnit Test Adapter for VS2012 and VS2013 NuGet package. You only need to install this in one of the projects in your solution for the build server to find the assemblies. I added it to one of the unit test projects and voilà! On the next build, the tests ran as expected. For the record: they were all green too.
There are a few reasons for why I prefer this approach:
- You avoid checking in binaries
- There's less custom configuration for your build definition
- You can easily keep track of updates to the test adapter through NuGet
So there. With the CI build up and running, I can now get back to planning the next NWebsec release.
Hi. I'm getting the same issue. I installed the NUnit Test Adapter, but it still doesn't seem to be working. Do you know of any other ways you tried to solve this issue? Thanks.
ReplyDeleteI like it
ReplyDeleteralph lauren polo
ReplyDeletecoach outlet
rolex watches
pittsburgh steelers jerseys
toms shoes
oakley sunglasses
prada sunglasses
michael kors bags
tiffany and co
toms uk
chenlina20170421
20170518 leilei3915
ReplyDeletemont blanc pens
pandora charms
coach factory outlet
michael kors handbags
lacoste shirts
mlb jerseys wholesale
polo shirts
michael kors outlet clearance
cheap mlb jerseys
ugg boots
A quick installation is all.
ReplyDeleteCheck the freshest release of xnspy app mate
ReplyDeletebecause of low notoriety and the dissertations tips myths related with online training.
ReplyDelete20170929 leilei3915
ReplyDeletepolo ralph lauren outlet online
michael kors outlet online
kate spade outlet
yeezy boost
christian louboutin sale
mlb jerseys
polo shirts men
coach outlet
coach outlet store online
ralph lauren
It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.
ReplyDeleteI’ve bookmarked your site, and I’m adding your RSS feeds to my Google account.
dot net training in bangalore
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this. AWS Training in Bangalore
ReplyDeleteHats off to your presence of mind..I really enjoyed reading your blog. I really appreciate your information which you shared with us.
ReplyDeleteJava Training in Bangalore|
I am commenting to let you know what a terrific experience I enjoyed reading through your web page. I noticed a wide variety of pieces, with the inclusion of what it is like to have an awesome helping style to have the rest without hassle grasp some grueling matters.
ReplyDeleteHadoop Training in Bangalore
Hello! Just wanted to drop a comment on how great this website looks! Do continue to push out such interesting content, thanks! If you are looking to register a business, do check out the best company incorporation singapore consultant today!
ReplyDeleteThere are a wide range of organizations nowadays top essays that offer grown-up education learning.
ReplyDeleteThanks for the info.
ReplyDeleteวิจารณ์มวยไทย
ผลมวยไทย
โปรแกรมมวย
มวยไทยออนไลน์
ReplyDeleteHello!! I went to the site for the first time. I strongly advice
sbobet
ทางเข้า sbo
ทางเข้า sbobet
Ok good job.
ReplyDeleteหวยออนไลน์
royal1688
ทางเข้า maxbet
Thanks for the info.
ReplyDeleteแทงบอล maxbet
ทางเข้า maxbet
ทางเข้า maxbet
Thank you Queader for this post! Now I have to use and thank you more.
ReplyDeleteแทงบอล sbobet
แทงบอลออนไลน์
maxbet
I want to read the next episode.
ReplyDeleteสมัคร maxbet
บาคาร่า
บาคาร่าออนไลน์
Yes, I think I found a good and interesting story.
ReplyDeleteบาคาร่าออนไลน์
goldenslot
goldenslot
Your blog was very interesting & easy to understand. Thank you so much sharing that valuable blog.. Claims Audit
ReplyDeleteInventory Audit
Very interesting content which helps me to get the in depth knowledge about the technology. Duplicate Payment Review | Continuous Transaction Monitoring | Duplicate Payment Recovery
ReplyDeleteLet's Join With BOLAVITA
ReplyDelete