nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00109
[Bug 432573] Re: Mono test should be at runtime
** Also affects: nunitv2
Importance: Undecided
Status: New
** Changed in: nunitv2
Status: New => Confirmed
** Changed in: nunitv2
Assignee: (unassigned) => Andreas Schlapsi (a-schlapsi)
--
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: Confirmed
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