Any test case with a ">" symbol in it's data will fail to run in 1.35b. Simple reproduction:
using NUnit.Framework;
namespace NCrunchTestCase
{
[TestFixture]
public class TestCaseTests
{
public int counter = 0;
[TestCase("A", Description = "This will run")]
[TestCase(">", Description = "Greater than breaks NCrunch - this test doesn't run")]
[TestCase("B", Description = "This will run")]
public void GreaterThanInTestCaseBreaksNCrunch(string input)
{
counter++;
Assert.Pass("Made it here with input {0}.", input);
}
[TestFixtureTearDown]
public void TearDown()
{
Assert.That(counter, Is.EqualTo(3), "Did not run all tests.");
}
}
}
Note that only 2 tests run, and if you look at the output you'll see that only A and B were passed into the test. I also submitted a bug report.
Remco NCrunch Developer
#726
13 Dec 2011 20:21 UTC
Hi, thanks for reporting this problem.
v1.36b (due for release before Christmas) has completely rewired the NUnit integration around test cases and has this problem resolved, so hopefully you won't need to deal with it for long.
Cheers,
Remco
v1.36b (due for release before Christmas) has completely rewired the NUnit integration around test cases and has this problem resolved, so hopefully you won't need to deal with it for long.
Cheers,
Remco
I am still experiencing this issue with 1.39.0.15b
Remco NCrunch Developer
#2105
06 Jun 2012 22:55 UTC
Hi Monkeywoo,
What is your current setting for the 'Framework utilisation type for NUnit' under your NCrunch solution configuration? Does the problem go away if you change this setting?
Cheers,
Remco
What is your current setting for the 'Framework utilisation type for NUnit' under your NCrunch solution configuration? Does the problem go away if you change this setting?
Cheers,
Remco
Post a reply
Log in to reply.