Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Distributed processing and user secrets
Hi, thanks for posting. If I understand the way that secrets are intended to work, they are essentially parameters that are supposed to be specific to the machine on which the code is being executed. This is somewhat of an issue for distributed processing. Clearly the intent of distributed pr…
19 Nov 2020 23:33 UTC
-
Tests Not DIsplayed
Hi, thanks for sharing this problem. Could you submit a bug report after the test disappears? The log file may yield some useful information. When the test disappears from the Tests Window, do its coverage markers also disappear from the source code?
19 Nov 2020 23:22 UTC
-
Support for C# source generators?
Hi, It really depends on the generator. NCrunch doesn't have any mechanism to specifically exclude generators, but there is an infinite number of ways in which the generators can work. How is the test being generated? Is it through a build task?
19 Nov 2020 23:19 UTC
-
Metrics Not Being Computed
Thanks for the extra details. It looks like this is a missing code coverage issue. Can you check if any of the [url=https://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage]suggestions on this documentation page[/url] work for you?
18 Nov 2020 22:44 UTC
-
NCrunch console never exiting
Hi Bart, NCrunch enforces timeouts in two different ways: 1. ThreadAbortException: NCrunch hits a hanging test thread with ThreadAbortException, causing it to fail its execution and report a stack trace. This is not performed under .NET Core (which does not support ThreadAbortException). 2.…
18 Nov 2020 08:34 UTC
-
Ignored tests not appearing in RawResults.xml written by console runner
Hi, thanks for posting. I've taken a look at the code involved here, and I can't see a way to do this with what we're exporting at the moment. It's supposed to be in RawResults.xml, but it looks to have been omitted unintentionally. I've logged a defect to get this fixed in the next build.
18 Nov 2020 08:01 UTC
-
Test method must be public
Would you be interested in trying the build below to see if this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.msi]NCrunch_Console_4.6.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.zip]NCrunch_Con…
18 Nov 2020 03:18 UTC
-
Project using PostSharp builds in Visual Studio but not in NCrunch.
Would you be interested in trying the build below to see if this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.msi]NCrunch_Console_4.6.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.zip]NCrunch_Con…
18 Nov 2020 03:17 UTC
-
NCrunch console crash: NullReferenceException at ModelCodeMember.get_FilePath
Would you be interested in trying the build below to see if this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.msi]NCrunch_Console_4.6.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.zip]NCrunch_Con…
18 Nov 2020 03:17 UTC
-
ncrunch chooses incorrect target with multi-targetted project reference
Would you be interested in trying the build below to see if this solves the issue? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.msi]NCrunch_Console_4.6.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.6.0.2.zip]NCrunch_Console_4.6…
18 Nov 2020 03:16 UTC
-
VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working
An update on this one. We haven't been able to find an obvious cause for this problem. Since most of the operation of MSFakes is a black box to us, it'll probably take some time before we know what's going on. We'll update you when we have more information.
18 Nov 2020 00:20 UTC
-
NCrunch console never exiting
Hi, thanks for sharing this problem. [quote][10:24:39.5298-Core-117] Checking for tasks to launch (1 out of 5 concurrent tasks are active)[/quote] This particular message indicates that there is a task hanging or running well over time. It might be possible to identify the specific task by in…
17 Nov 2020 23:30 UTC
-
VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working
Great, thanks! We'll take a look and will get back to you soon.
16 Nov 2020 23:32 UTC
-
VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working
Sorry just trying to confirm the status here ... Does the problem still exist after the adjustments you made? If so, is it possible for you to reproduce it with a sample solution?
16 Nov 2020 08:24 UTC
-
VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working
[quote=UppSol;15067] If cleaned the bin + obj folder and rebuilded the project, so the fakes project(generated by VS/compiler) and the corresponding (generated) files have been rebuilded correctly. Should this be enough or should I do something else as well? [/quote] Fakes generates its own as…
16 Nov 2020 00:25 UTC
-
VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working
Thanks for sharing this. Can you confirm whether you've tried regenerating the derived files used by Fakes to see if this solves the issue? Often a big platform release can put them out of sync, giving obscure errors.
15 Nov 2020 22:57 UTC
-
ncrunch chooses incorrect target with multi-targetted project reference
Thanks Richard. Our multi-framework resolver probably needs adjustment here. I appreciate the code sample. We'll take a look :)
14 Nov 2020 22:20 UTC
-
Problem running tests in x64
Be sure to check the [url=https://www.ncrunch.net/documentation/overview]documentation[/url] for each of these options to have an understanding of what they do. In this situation, the best way to fix the problem isn't actually with NCrunch configuration. If one of your projects can only run with…
13 Nov 2020 20:28 UTC
-
The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized
[quote=Magbr;15050] Oh yes, that makes sense. Some tests use auto generated data. Is it possible to disable this behavior?[/quote] You can ignore the tests using the [url=https://www.ncrunch.net/documentation/concepts_ignored-tests]Ignored Tests[/url] option. However, it isn't possible for NCru…
13 Nov 2020 20:21 UTC
-
NCrunch console crash: NullReferenceException at ModelCodeMember.get_FilePath
I suspect this is related to the structure of the project. My best guess here is that there might be a build error that is being reported to a file that isn't a source file, or something similar. The code that is exploding here is specific to code navigation inside the IDE. There isn't really a…
13 Nov 2020 09:20 UTC