Forum member

craigber

4 posts

Posts by craigber

  1. Using specific Output folder

    We have a very large c# application that consists of many solutions and projects that are segmented into five areas. Each area gets built on it's own and all are put into a specific output folder. The entire set of artifacts are needed in the output for the UI project to build and run. NCrunch does …

  2. Test Coverage Differernces

    I'm getting different test coverage metrics from NCrunch vs. VS Test. NCrunch is reporting 63% test coverage while VS is reporting 71%. This is VS 2017 and NUnit 3. All unit tests are passing. Any ideas why these would be different?

  3. Passing/Not Passing some tests with JustMock

    Thanks, Remco We worked some more with this and I think it's an issue with the singleton not being thread safe. We've adjusted the setup of the mock in the test so it happens per test. This solved the issue. We'll be looking at the singleton code next.

  4. Passing/Not Passing some tests with JustMock

    I have a problem where sometimes four tests that mock a static method pass, sometimes they don't when running in NCrunch. Other tests use the same mock in the exact same way and they pass every time. Specifics on what's happening: - We have an Assert setup on a static class/method to verify the …