Build/Test Issues

NCrunch doesn't run nested mspecs

Started by forki on 8,418 views

Hi,

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

    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

Edited

Thanks! I can see why this would be the case. I'll see what I can do in a future build :)
For anyone interested, this issue should be fixed in the recently released 1.33b.

Post a reply

Log in to reply.