A Closer NUnit Relationship
I had used NUnit in all of my .NET projects so far, but now I have the chance to become a superuser. We plan to add NUnit integration in our product. I won't go into much detail here, but the idea is that our application will execute NUnit test cases and the results will be saved in a format that is used in our app.
The problem that I face right now is that I hoped that I could use nunit-console to run a test case, but there is no such an option. The atomic unit for execution is a test fixture. Argh, why is this option missing? I doubt it that it was much difficult, since Zanebug console runner already has such a feature. So what are my options now:
- Use Zanebug (it claims to have NUnit 2.2.7 support)
- Search for a better nunit-console replacement (if anybody knows about one, please let me know, btw MbUnit console app options are very limited, too)
- Develop a custom nunit-console replacement that fits our needs (probably based on nunit-console code).
I hoped I could use the standard nunit-console app, since I would not have to learn the API intricacies and deal with breaking changes in future NUnit versions, but it seems that I am screwed :)
Another problem that I can foresee, is that running multiple test cases one by one, can cause a performance problem if the assembly is loaded and unloaded on each execution. Might be a good idea to come up with a workaround.




0 Comments:
Post a Comment
<< Home