Hi,
It seems NCrunch is still ignoring the Ignore attribute for MSpec tests.
Here is the test failing. I have tried the Ignore attribute with and without a reason.
[Ignore("reason")]
public class when_mergin_a_template_with_a_null_object
{
private static ITemplateEngine template_engine;
private static ITemplateFile template_file;
private static string output;
private static Exception exception;
private Establish context = () =>
{
template_engine = TemplateEngineHelper.CreateTestNVelocityEngine();
template_file = template_engine.CreateTemplateFile("dummy");
};
private Because of = () =>
{
exception = Catch.Exception(() => template_engine.Merge(template_file, null));
};
private It should_throw_an_exception = () => exception.ShouldNotBeNull();
}
Here is a screenshot of the NCrunch output
Or am I just being thick?
I am using NCrunch 1.41.0.50b with Visual Studio 2012 and MSpec 0.5.8.0.
Thanks