Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Test project not recognized as tests
Hi Marlon, Thanks for posting. Have a check through [url=https://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage]this documentation page[/url] to see if any of the suggestions help. Also, check the following: - Turn on the 'Show passing tests' and 'Show Ignored tests' opt…
28 Dec 2020 12:26 UTC
-
NCrunch cannot compile my project whereas VS can
We've spent the last couple of weeks looking into this issue in detail. Because of the structure involved and the complexity of the dependency resolution system in general, it's been a frustratingly time consuming task. I appreciate you taking the time to share your code with us, as analysis of th…
28 Dec 2020 00:49 UTC
-
DispatcherScheduler.Current
Can you reproduce this problem in a sample solution you can share with me? You can submit code through the [url=https://www.ncrunch.net/support/contact]NCrunch contact form[/url].
26 Dec 2020 23:36 UTC
-
DispatcherScheduler.Current
Hi Dirk, Thanks for sharing this problem. Can you check this [url=https://www.ncrunch.net/documentation/troubleshooting_process-terminated-unexpected-error]new troubleshooting page[/url] to see if any of the listed issues apply to your situation? It's not normal for a test process to suddenly d…
23 Dec 2020 11:40 UTC
-
NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error
[quote=jmarbutt;15193]I began having this issue also today. I don't have a huge test suite in this project, maybe 180 tests. I am not sure what caused it to start now. I do have a base class for most of my tests that has some common setup code. Any ideas why this just started?[/quote] Thanks f…
23 Dec 2020 09:10 UTC
-
NCrunch hang with long running async test
Thanks for flagging this back up. Somehow, I forgot to task this up and it was never fixed. Consequently: - NUnit will still enforce these timeouts at test-level but NCrunch won't extract useful error information - At fixture level (i.e. OneTimeSetup) these aren't enforced at all I've taske…
22 Dec 2020 23:21 UTC
-
Support for C# source generators?
[quote=tkarlsen;15189] Forgive me for saying so, but I think this is the wrong way to look at it. Source generation will become extremely important very soon. Microsoft is already looking at using them for several things, including their JSON serializer, and many other things. They are making a str…
18 Dec 2020 23:10 UTC
-
Support for C# source generators?
Ok, this doesn't look like it will be easy to fix then. We'll need to look into this more before we can commit to whether a fix is feasible. It would be great if you could add a feature request for this on [url=https://ncrunch.uservoice.com]uservoice[/url] so we can track its priority relative t…
17 Dec 2020 23:29 UTC
-
Support for C# source generators?
Does adding OutputItemType to the Reference element solve the issue? You can test this by manually editing the generated .csproj then running MSBuild.exe over it. If it does work, we might be able to pipe this over as a quick fix.
17 Dec 2020 23:01 UTC
-
Failure at analysis step
Thanks for submitting the report. I found the error below. Note that this wouldn't necessarily show up when running your tests under the VS tools, as these tend to quietly shift to different versions of the framework when they run your tests. [11:38:11.8383-ProcessOutputRedirectionErr-20] Pro…
14 Dec 2020 00:34 UTC
-
Failure at analysis step
Thanks for sending through the sample. Your code works fine on my end. This problem is not related to the codebase. Something is not right in your environment. Can you try the following? 1. Set your Log Verbosity to Detailed 2. In your cut down sample solution, open up NCrunch and let th…
12 Dec 2020 00:32 UTC
-
Failure at analysis step
[quote=MaxRonin;15175] I've created a private Github repo with this repro. Can I invite you to it and you take a look? What's your github username? [/quote] Any chance you could zip up the source and put it through the [url=https://www.ncrunch.net/support/contact]contact form[/url]?
11 Dec 2020 11:37 UTC
-
Failure at analysis step
Hi, Thanks for sharing this problem. This is a catch all exception that gets thrown when the task runner process suddenly disappears without providing any error information. Typically, it's infrastructure or dependency related. In this case, the exception is thrown before the process has f…
10 Dec 2020 23:49 UTC
-
NCrunch console never exiting
[quote=bartj;15170] 1. I don't see any logging from NCrunch saying that it's tried and failed to kill my process. How do I know that NCrunch has in fact tried and failed to kill the process as opposed to not even trying for some unknown reason, potentially a bug in NCrunch? [/quote] In the curr…
10 Dec 2020 01:45 UTC
-
Uniqueness of xunit collection fixtures
Hi, thanks for posting. This is probably happening because of NCrunch's batching. NCrunch separates tests into tasks, which can be seen in the processing queue. Each task results into a new call into the test framework, with instructions to run a set of tests. In theory this could result in a …
09 Dec 2020 23:01 UTC
-
NCrunch cannot compile my project whereas VS can
Thanks for sharing this issue. At a glance, this looks like a dependency issue. We'll take a deeper look and will get back to you soon.
08 Dec 2020 23:09 UTC
-
NCrunch console never exiting
[quote=bartj;15161] While in an ideal world, tests would never time out (and of course they would always pass), in the messy world of legacy software, tests will not complete from time to time - particularly when under heavy concurrent load. This concurrency is part of what we use NCrunch for. We c…
08 Dec 2020 03:24 UTC
-
Support for C# source generators?
[quote=tkarlsen;15162] I'm having a similar problem with source generators, not sure if it is related. In my case I'm not generating test methods, I'm generating regular code in the projects that are being tested. For some reason the build fails when running in NCrunch, because the generated code c…
08 Dec 2020 02:54 UTC
-
Best way to publish Coverage results with Jenkins CI
Hi Marion, We haven't implemented specifically this feature, but we have done something similar that perhaps you could adapt for your needs. As of v4.5, NCrunch is now able to export code coverage data in partcover format. You can export this using the export button on the Tests Window toolba…
07 Dec 2020 11:38 UTC
-
NUnit3 / Teamcity TestExecutionException: Cannot start monitoring test...
Hi Adrian, Unfortunately, suppressing this issue won't help here, as when tests results are reported out of order, NCrunch has no way to make sense of the results. The error invalidates the entire test run. You need to find out why NUnit is running your tests in parallel. Make sure you are u…
04 Dec 2020 22:50 UTC