Creating NUnit projects


Since version 2.1, both the Console runner and the GUI runner of NUnit can load tests from multiple test assemblies. The NUnit documentation contains more information about this feature. Still there can be one or more obstacles when you use multiple test assemblies.

Adhoc projects

The Console runner accepts more than one test assemblies as command line arguments. If you use the GUI runner you can add test assemblies by using “Project => Add Assembly…”. But the test assembly must be in the same directory as the assembly which has already been loaded, otherwise NUnit can’t find the file and aborts with a FileNotFoundException.

Creating NUnit projects

You can create a new NUnit test project by clicking on “File => New Project…”. You can add assemblies to the project by clicking on “Project => Add Assembly…”. Using NUnit test projects the test assemblies can be in different directories.

One configuration file for all test assemblies

NUnit can load configuration files for test assemblies even for class libraries. With NUnit test projects you can use just one configuration file. You can change the name of this file in the NUnit project editor, but you can’t specify a file path, just the file name. The configuration file must be located in the same directory as the project file.

32 thoughts on “Creating NUnit projects

  1. Melvinchunter

    I recently ran over your blog and have been reading along. I figured I would leave my first comment. Your blog is really mind blowing and the design is really first class. Really, your blog is mind boggling. It’s important that they know how the structure of online blogs workout. For more you can use this best essay writing service to have any kind of writing help in the future.

  2. My coder is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the expenses.

    But he’s tryiong none the less. I’ve been using Movable-type on several websites for about a year
    and am nervous about switching to another platform.
    I have heard very good things about
    Is there a way I can import all my wordpress content into it?
    Any help would be really appreciated!

  3. You really make it seem so easy with your presentation but I find this matter to be really something that I think I would never understand. It seems too complex and extremely broad for me. I’m looking forward for your next post, I will try to get the hang of it!

  4. hey there and thank you for your info – I have definitely picked up something new from right here. I did however expertise some technical issues using this website, as I experienced to reload the web site lots of times previous to I could get it to load correctly. I had been wondering if your web hosting is OK? Not that I’m complaining, but slow loading instances times will very frequently affect your placement in google and could damage your high quality score if advertising and marketing with Adwords. Anyway I’m adding this RSS to my email and could look out for much more of your respective intriguing content. Make sure you update this again soon..

  5. Hi there would you mind sharing which blog platform you’re using? I’m going to start my own blog soon but I’m having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique. P.S Apologies for getting off-topic but I had to ask!

  6. There are actually a lot of particulars like that to take into consideration. That could be a nice level to carry up. I offer the thoughts above as normal inspiration however clearly there are questions like the one you carry up the place crucial factor might be working in honest good faith. I don?t know if greatest practices have emerged around issues like that, but I’m certain that your job is clearly recognized as a fair game. Both girls and boys really feel the affect of just a second’s pleasure, for the rest of their lives.

  7. I enjoy you because of all of the work on this web site. Gloria delights in managing internet research and it’s easy to see why. A lot of people notice all relating to the powerful form you convey useful items by means of this web blog and therefore attract participation from other ones about this subject matter then our own daughter is discovering a lot. Have fun with the remaining portion of the year. You’re doing a powerful job.

  8. hello!,I like your writing so much! share we communicate more about your article on AOL? I require a specialist on this area to solve my problem. Maybe that’s you! Looking forward to see you.

  9. Very nice article and right to the point. I don’t know if this is actually the best place to ask but do you guys have any ideea where to hire some professional writers? Thanks in advance 🙂

  10. I like the valuable information you provide in your articles.
    I will bookmark your weblog and check again here
    regularly. I’m quite sure I’ll learn lots of new stuff right here!

    Best of luck for the next!

  11. That is a very good tip particularly to those fresh
    to the blogosphere. Short but very accurate info… Appreciate your
    sharing this one. A must read post!

  12. Right now it appears like Drupal is the preferred
    blogging platform out there right now. (from what I’ve read) Is
    that what you are using on your blog?

  13. Woah! I’m really loving the template/theme of this blog.
    It’s simple, yet effective. A lot of times it’s difficult to get that “perfect balance” between superb usability and visual appearance.
    I must say you’ve done a very good job with this. Also, the blog loads extremely
    quick for me on Internet explorer. Outstanding Blog!

  14. Right here is the right site for anyone who hopes to
    find out about this topic. You realize a whole
    lot its almost hard to argue with you (not that
    I personally would want to…HaHa). You certainly put a new spin on a subject which has been discussed for many years.
    Excellent stuff, just wonderful!

  15. I think that is one of the most vital information for me. And i’m satisfied studying your article. However want to statement on few general issues, The website taste is perfect, the articles is actually excellent : D. Just right activity, cheers

  16. I spent four years trying EVERYTHING in Online Dating, and through a huge amount of trial and error, I produced a system that I will share for you. This book will take you, step by step, through everything you need to know to double, triple or even quadruple the number of women you meet online.

  17. Document Article. Was’t whatever i ended up specifically hunting for however My husband and i did some searching Aol your posting showed up i really tested versus eachother and additionally wished to no less than thanks a ton.

  18. Have you ever thought about including a little bit more than just your articles? I mean, what you say is important and everything. But think about if you added some great photos or video clips to give your posts more, “pop”! Your content is excellent but with pics and videos, this site could undeniably be one of the best in its niche. Very good blog!

Leave a Reply

Your email address will not be published.