Question #238356 on NUnit Framework changed: https://answers.launchpad.net/nunit-3.0/+question/238356
Charlie Poole proposed the following answer: R# uses - or says they use - NUnit itself to run tests. If so, it should work the same. However, I think they may do some preprocessing to decide what is a test. For NUnit, I'd expect it to use the [TestCase] and ignore the [Test] in your example, since [Test] essentially means "this is a test" but does not generate any test cases in our current usage. Maybe it would be a good idea - if we want to integrate this eventually - for you to send me a note with some description of how you intend to fix this. Would you treat a nullable argument the same as an optional argument? My first assumption is that they are two different things. Charlie On Thu, Oct 31, 2013 at 7:11 AM, Danil Flores < [email protected]> wrote: > Question #238356 on NUnit Framework changed: > https://answers.launchpad.net/nunit-3.0/+question/238356 > > Danil Flores posted a new comment: > Thanks for the quick response! That definitely works for me, I'll try to > do some more testing around this and let you know once I have something > tangible. One more question. Who maintains the Resharper integration for > NUnit, you guys or the R# team? I've basically got this working with the > NUnit GUI and console runner, but since the R# plugin has it's own > method of generating test cases, if a test case is as follows: > > [Test] > [TestCase(1, 2, 3)] > public void SomeTest(decimal? first, decimal? second, decimal? third) { > ... } > > Then the R# runner would generate two test cases: > > SomeTest(1, 2, 3) <- State is inconclusive > SomeTest(1m, 2m, 3m) <- Actually runs > > A full solution would probably have to take this into account in their > test case builder as well, however, this isn't really a deal-breaker for > us. We may just use it as is for now and count on the support in NUnit 3 > for nullable rows. > > -- > You received this question notification because you are a member of > NUnit Core Developers, which is an answer contact for NUnit Framework. > > _______________________________________________ > Mailing list: https://launchpad.net/~nunit-core > Post to : [email protected] > Unsubscribe : https://launchpad.net/~nunit-core > More help : https://help.launchpad.net/ListHelp > -- You received this question notification because you are a member of NUnit Core Developers, which is an answer contact for NUnit Framework. _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : [email protected] Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp

