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

Notification

Icon
Error

NCrunch doesn't run nested mspecs
forki
#1 Posted : Wednesday, May 25, 2011 6:45:34 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 19
Location: Hamburg

Thanks: 1 times
Hi,

NCrunch is now working for me, but I'm using the (new) nested classes feature in MSpec.

Code:
    public class when_using_simple_class
    {
        It should_run_this = () => 1.ShouldEqual(1);
    }

    public class when_using_nested_classes
    {
        public class when_using_this_inner_class
        {
            It should_run_this = () => 1.ShouldEqual(1); // NCrunch doesn't run this
        }
    }


Cheers,
Steffen
Remco
#2 Posted : Wednesday, May 25, 2011 6:52:29 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 873 times
Was thanked: 1184 time(s) in 1104 post(s)
Thanks! I can see why this would be the case. I'll see what I can do in a future build :)
Remco
#3 Posted : Monday, September 5, 2011 7:48:06 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 873 times
Was thanked: 1184 time(s) in 1104 post(s)
For anyone interested, this issue should be fixed in the recently released 1.33b.
Users browsing this topic
Guest
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.041 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download