We are using xUnit to run our Solution tests.
Recently we added multiple types of tests that test the same classes but with different intentions, that is we have Unit, Integration and Acceptance tests.
All tests classes are in different namespaces.
When running the tests using the ReSharper runner, there are no issues.
However, NCrunch seems unable to differentiate the tests if the test class names are exactly the same.
For example,
namespace Tests.Unit.Repository
{
public class RepositorySpecs
{
...
namespace Tests.Integration.Repository
{
public class RepositorySpecs
{
...
Will cause a message like:
"This test was not executed during a planned execution run. Ensure your test project is stable and does not contain issues in initialisation/teardown fixtures."
Of course, renaming the test addresses the issue, but I have a hard time asking our large development team to change convention for naming since this is only an issue with using NCrunch.
I checked around on the forums and found out this type of message is due to a number of issues, but did not see anything particular about duplicate class names causing confusion.
Note that the namespaces are different, but both Unit and Integration are in the same project.
Is there a setting or a known issue I am missing? Note that excluding one of the namespaces does not seem to address the issue.
Best Regards,
Juan M. Medina
Edited 19 Mar 2014 16:17 UTC