Welcome Guest! To enable all features please Login or Register.



Interesting bug with nUnit TestCase support
#1 Posted : Friday, September 2, 2011 8:20:36 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/2/2011(UTC)
Posts: 2

This test runs and passes using Resharper's test runner and nUnit, but for some reason nCrunch can't parse it.

using NUnit.Framework;

namespace NCrunchTestCase
    public class TestCaseTests
        public void OpenParenBreaksNCrunch(string original)

Submitted a bug report via nCrunch as well. And btw - thanks for supporting TestCase - I just removed about 100 lines of duplicate code in a test suite which makes me happy.
#2 Posted : Friday, September 2, 2011 8:51:11 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,866

Thanks: 910 times
Was thanked: 1229 time(s) in 1149 post(s)
Thanks for reporting this one - I got your bug report too and it makes perfect sense.

NCrunch is using the brackets to identify the structure of the test case (this is just how NUnit is working internally). It should be an easy one to fix I think :)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.027 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download