Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Understanding Engine Ignored Tests (by Category)
Best to create a new engine mode, setting this to exist at Solution/Shared, then in this engine mode override the [url=https://www.ncrunch.net/documentation/reference_solution-configuration_tests-to-execute-automatically]Tests to execute automatically[/url] setting to exclude your Environment tests …
31 Dec 2020 23:16 UTC
-
Understanding Engine Ignored Tests (by Category)
Thanks for posting. The issue here is one of clarity over two configuration settings: [url=https://www.ncrunch.net/documentation/reference_global-configuration_tests-to-execute-on-this-machine]Tests to execute on this machine[/url] controls which tests are allowed to be executed on your computer…
31 Dec 2020 09:08 UTC
-
DispatcherScheduler.Current
[code]<TargetFramework>net5.0-windows10.0.19041</TargetFramework>[/code] When you use the line above, you tell the build system and runtime that you want to use a very specific version of the platform. The specific version of the platform you are targeting is not installed on your machine. So…
30 Dec 2020 23:51 UTC
-
DispatcherScheduler.Current
Thanks for your guidance. I've managed to produce a problem using the project structure you've provided. On my machine, it looks like the problem is related to the targeted platform not being installed on my machine. I've included the error log below, and I've [url=https://www.ncrunch.net/docum…
28 Dec 2020 23:53 UTC
-
Test project not recognized as tests
Under the Processing Queue Window, do you see an Analysis Task for the test project? If so, can you try setting your Log Verbosity to Detailed, then rebuild/reload the project in NCrunch and examine the trace log in the output pane of the Processing Queue Window when the project is selected? Doe…
28 Dec 2020 23:32 UTC
-
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 [dead link] so we can track its priority relative to other work. Please make sure you not…
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