Disclaimer

Any opinions expressed here are my own and not necessarily those of my employer (I'm self-employed).

Apr 24, 2014

NUnit and Visual Studio Online

Green buildVisual Studio Online looks pretty cool so I’ve decided that I'll use it for the next NWebsec release. The project setup was relatively straightforward and painless, but I hit a speed bump when I ran the first build of NWebsec.

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.

Copyright notice

© André N. Klingsheim and www.dotnetnoob.com, 2009-2018. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to André N. Klingsheim and www.dotnetnoob.com with appropriate and specific direction to the original content.

Read other popular posts