Forum member

sgrassie

15 posts

Posts by sgrassie

  1. Rider - build in progress - continuously

    Running in the latest version of Rider, the NCrunch plugin just continously builds the projects. As I'm typing this I'm watching the processing queue and they're just chugging along. It seems like unit tests never actually get run. For context, this is on a corporate Windows laptop with some heav…

  2. NCrunch exception when building .net core xunit project

    [quote=sgrassie;12471] ... Following your suggestion above, I added package references to the xUnit project for the following three packages (which were listed in the output window). System.Diagnostics.TraceSource v4.3.0 System.Runtime.Loader v4.3.0 xunit.runner.utility v2.2.0 ... [/quote] …

  3. NCrunch exception when building .net core xunit project

    Remco, I removed the reference to the xamarin forms project from the xUnit project, and fixed up the tests so they are essentially empty. NCrunch still fails to build the xUnit project, throwing the same error. Just to confirm, using the trick in the thread I linked to, NCrunch does build the xam…

  4. NCrunch exception when building .net core xunit project

    I can't submit this as a bug through NCrunch because the wonderful corporate proxy I'm forced to go through appears to block it. 1. Created Xamarin Forms cross platform mobile application, with netstandard shared project. 2. Add <DesignTimeBuild Condition="'$(NCrunch)' == '1'">true</DesignTimeBu…

  5. AutoFixture Warning Incorrect

    [quote=Remco;10798]Yes, it's true that AutoFixture won't cause problems if it isn't used for providing parameters to test cases or theories. I have a somewhat bias here in that many of the problems I chase are related to inconsistent test case parameters, so I assumed that this was the primary purp…

  6. Build failure in VS2017

    [quote=Remco;9905]Sorry, I wish I had an easy way to figure out what was happening here :( [/quote] It's not your fault! I mostly blame my clients wacky solution and architecture choices :)

  7. Build failure in VS2017

    I've spent an hour trying to reproduce this in a test project, and I must admit I'm struggling to do so. One of the projects in the main solution has a different stacktrace in the Trace Ouput window: [code] ..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\B…

  8. Build failure in VS2017

    I'll try, it's a fairly large solution with a lot of NuGet packages, so it might take a little while to narrow down which one is causing the problem.

  9. Build failure in VS2017

    Hi Remco, sorry I cannot submit this through a bug report: The internet at my clients is rather restricted. When opening the solution and waiting for NCrunch to load triggers this problem, across multiple projects in the solution. The same solution (same code and location), in VS2015 with NCrunch…

  10. XUnit Theory/ClassData generic tests not displaying correctly

    Redesigning the tests will be, at this stage, not something which we'll probably want to do. I'm not sure it will be necessary, with the clear explanation you've given, which I can happily report back to my colleagues.

  11. XUnit Theory/ClassData generic tests not displaying correctly

    In Xunit2, it appears that parameterised [i]generic [/i]tests aren't displaying in the UI correctly. From the following code, I would expect NCrunch to display six tests, but it actually says that there are five. (This may partly answer a [url=http://forum.ncrunch.net/yaf_postst1780_Test-Count-di…

  12. Test Count difference with Resharper

    Hi, Why would NCrunch report a test count of about 200 or so less than ReSharper? I can't figure out where the disparity is. I can't actually find a test in NCrunch that doesn't match up with one that Resharper shows. Tests use XUnit2, I'm running VS2015.

  13. Winforms not closing after a test is completed

    First, let's put aside the wisdom of avoiding writing unit tests which do anything with winforms. Sometimes you just have to suck it up :( My test(s) looks like this: [code=csharp] [Test, RequiresSTA] public void SomeTest() { using (var form = new SomeFo…

  14. Not showing Ignored NUnit tests

    Thanks for the clarification. Might I suggest a small update to http://www.ncrunch.net/documentation/concepts_ignored-tests with this information.

  15. Not showing Ignored NUnit tests

    NCrunch doesn't appear to be telling me how many tests I have ignored. The test runner in Resharper does, as does running the NUnit console both locally and on the build server. The 'Show Ignored Tests' button does not show them either. NCrunch 2.15.0.9 NUnit 2.6.4 VS 2013 Pro