nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00129
[Bug 432573] Re: Mono test should be at runtime
** Changed in: nunitv2
Status: In Progress => Fix Committed
--
Mono test should be at runtime
https://bugs.launchpad.net/bugs/432573
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
Status in NUnit Test Framework: Fix Committed
Status in NUnit V2 Test Framework: Fix Committed
Bug description:
The test MsgUtilsTests.EscapeControlCharsTest fails with [TestCase("\0", "\\0")] when the framework is compiled under .NET but tested under Mono. The test should be excluded under Mono but is not because a compile-time condition is used.
This should be fixed in some way. Options are:
* Remove the test for all platforms
* Make it a separate test rather than a test case and use PlatformAttribute
* Add a Platform named parameter to TestCaseAttribute and use it.
It's possible that other compile-time tests for mono may cause the same problem.
References