Forum member

ljohnston

32 posts

Posts by ljohnston

  1. "Run impacted tests automatically, other manually" does not detect changes in MSpec tests.

    NCrunch Version 3.3.0.6 Visual Studio 2015 I've noticed that since the IL impact detection mode was added that it often fails to detect impacted code (and therefore fails to re-run impacted tests) when changes are made to an MSpec test. AFAIK it detects the changes correctly if the changes are m…

  2. MSpec test using RazorEngine fails on some machines but does not fail in Resharper or MSpec runner

    Thanks. We'll stick with this solution then.

  3. MSpec test using RazorEngine fails on some machines but does not fail in Resharper or MSpec runner

    Yup, that fixed it. Is keeping this setting enabled the best way to fix the issue long term or are there other options we should consider? Thanks for the help.

  4. MSpec test using RazorEngine fails on some machines but does not fail in Resharper or MSpec runner

    I'm sorry I don't have an MCVE or more information on the cause of this, but it's only happening for one test in one large project and every time I try to narrow it down I can no longer reproduce the issue. I'm happy to gather more information for you if I can if you can tell me what you need. Unfor…

  5. Visual Markers missing with Visual Studio 2015 RC

    I'm seeing this as well.

  6. NCrunch seems to occasionally lock folders in projects making the folders impossible to rename

    Thanks. I understand you can't make any promises and I appreciate you being willing to look into it.

  7. NCrunch seems to occasionally lock folders in projects making the folders impossible to rename

    Thanks for the reply. A fix to this would be most appreciated. Do you anticipate the fix will make it into the next version?

  8. NCrunch seems to occasionally lock folders in projects making the folders impossible to rename

    Sometimes while working with a project that has NCrunch enabled if I attempt to rename a folder I'll get the Visual Studio message: "Cannot rename 'MyFolder'. The process cannot access the file because it is being used by another process. If I use LockHunter to see which processes have the folder…

  9. Usability issue with MSpec tests when showing coverage only for selected assertion

    Hi Remco, Thanks for the response. From a testing library agnostic perspective I agree with you, MSpec Because and Establish are technically the same SetUp in other testing frameworks and run once per fixture. From an MSpec-specific perspective I still feel like the current behavior is going t…

  10. Usability issue with navigating to MSpec test which use behaviors

    Hi Remco, Thank you for the information. It's interesting to get some insight into why this is a hard issue to fix. It's great to hear that you're investigating Roslyn, hopefully it'll turn out to be useful for NCrunch and other developer tools.

  11. Usability issue with MSpec tests when showing coverage only for selected assertion

    Create the following MSpec specification: [code=csharp] [Subject(typeof(Foo))] public class fake { Because of = () => _result = Foo.DoIt(); It should_return_true = () => _result.ShouldBeTrue(); static bool _result; } public static class Foo { public static bool DoIt(…

  12. Usability issue with navigating to MSpec test which use behaviors

    Place the following MSpec classes in separate files. [code=csharp] [Subject(typeof(fake))] public class fake { protected Behaves_like<FailSpecificationBehavior> a_failure; } [Behaviors] public class FailSpecificationBehavior { It should_fail = () => true.ShouldBeFalse(); } [/co…