Frequently Asked Questions
ANo. Instead, as there are different versions of VS.NET 2005, there are still versions, which do not including unit testing. Buying a version that includes unit testing is not feasable for many users in particular on open source projects, because of the high licensing costs of the respective VS.NET versions.
We are currently working on migrating csUnit onto VS.NET 2005 and have planned a first version for end of March 2006.
Also, there is users who don't have VS.NET 2005 at all, but use other development tools instead.
And finally, csUnit will continue to contribute to the further development of testing tools targeting the .NET framework.
AcsUnit and XYZ offer different sets of features. Depending on your requirements and based upon your selection criteria, csUnit or XYZ may be the better fit. It is your decision!
For example: csUnit's feature to collect time statistics can be seen as a huge benefit, when you need a painless way of finding out, how to improve the test cycle. However, one could also argue that this feature is unnecessary. Our stance here is: It depends on your individual perspective, values, and requirements, whether or not a particular feature is an advantage or a disadvantage.
Finally, while we certainly have a look on other tools once in a while, in principal, we do not talk in public about our findings. We believe that it would not comply with our thinking about ethics and morale, if we would talk about the results of our assessments. We are convinced that csUnit offers a lot of value to the user. Therefore there is no need, and there is no motivation, and it is not in line with our philosophy, that we point to or talk about the weaknesses of competing offers.
As a service for users who want to migrate to csUnit, we provide a tutorial "Migrating from NUnit to csUnit", which describes the necessary migration steps.
AcsUnit and XYZ offer different sets of features. Therefore both tools address the requirements of a different set of users. Depending on these requirements, csUnit might be the better fit.
Also, as we use csUnit for our own projects, we need changes or new features in the short term. And we have experienced that users of csUnit appreciate that there is usually one new release per month with additional value. Tools that release only once or twice a year are not a good choice for an agile environment.
Apart from that: Having a choice is not a bad thing! Or is it?
What is the reason? How can I solve it?
AThe most-likely reason for this error is, that the assembly you are loading references the csUnit assembly (csUnit.dll). In addition, the csUnit-version that your assembly has been built with, is different than the version which is currently installed on your system. Therefore, if csUnit loads the assembly, it cannot locate the old csUnit version.
The solution is to recompile the assembly which you want to load into csUnit. This way it changes the reference to the installed csUnit version and then tries to locate that one.
ASpecify the assembly at the command line according to the following syntax:
After startup csUnitRunner also retrieves all test classes and methods from the assembly and displays them in the test hierarchy tree.
AThe stack overflow error is caused by a recursion in
APerform the following steps:
The csUnitRunner command should now be available from the tools menu again.
AYes or no, depending on which version of csUnit you are using.
Yes, if you use a version up to version 1.9.*, and if your software references csUnit libraries, assemblies, or source code.
No, if you use csUnit 2.0.* or later. Starting with version 2.0.* we have changed the licensing model. The new licensing model uses the zlib/libpng license and is substantially more flexible. It allows you to ship csUnit or portions of it as part of commercial, closed-source products as well. Even if your software references csUnit assemblies you could ship your software under whatever licensing model you prefer, including commercial, closed-source software.
Please keep in mind, though, that we are no lawyers. To be on the safe side, we recommend to ask your lawyer for further assistant should you have any open questions.