Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
.NET Core unit tests for project build as exe
My understanding of this .EXE file is that it functions in the same way as calling dotnet.exe with your DLL. If you use dotnet.exe (usually under C:\Program Files\dotnet) to call the DLL instead of calling the .EXE directly, it should be possible to run the code without requiring it. Another o…
02 Oct 2024 23:18 UTC
-
Static init code coverage is suppressed when TestCaseSource is used
Hi, yes this is behaviour as designed. We don't track code coverage data inside the analysis/discovery step. Because the static initializers are technically housed inside the static constructor for the class, they get executed during discovery. Generally, we re-use the test process that was use…
02 Oct 2024 23:13 UTC
-
.NET Core unit tests for project build as exe
Hi, thanks for posting. The .EXE file you are referring to is just a shim that invokes the runtime to load the .DLL. Because it doesn't form part of the normal dependency structure of the solution, the 'Copy referenced assemblies to workspace' setting won't automatically copy it to the test proj…
01 Oct 2024 23:43 UTC
-
NCrunch Hot Spots not updating when coverage filter is active
The hot spots window is the only window in the NCrunch UI that doesn't automatically update itself as the underlying data changes. It's the only part of the UI that has a Refresh button. We didn't really want it to be like this, but it's a very expensive view to create, and updating it in real t…
01 Oct 2024 12:02 UTC
-
Xunit.v3 analysis failure
Thanks for sharing this issue. This is caused by an inconsistency between the xunit runner libraries that are packaged with NCrunch, and the xunit runtime libraries referenced from your test project. Basically, the main xunit Nuget package doesn't ship with the runner libraries, so it's the re…
28 Sep 2024 13:14 UTC
-
Windows blocking is getting worse!
[quote=RichardHauer;17622] What are you guys doing in this software that get's it blocked all the time - this is pretty sketchy. [/quote] NCrunch takes assemblies apart, shoving instrumentation into them. It creates isolated processes to execute code, which depending on what you are testing, c…
26 Sep 2024 06:44 UTC
-
Rider: NCrunch fails to build
Sorry for the wait. It took some time to fully corner this one (it is freakishly intermittent). A fix has been included in v5.10, which has just been released. Please give it a try and let me know if the problem is solved on your side.
26 Sep 2024 01:11 UTC
-
Rider plugin loading error with Rider 2024.3 EAP 1
An update on this one: We've assessed the state of EAP 2024.3 and concluded that it's not ready for integration yet. Right now not all of the dependencies for this version are fully published, so we can't actually build against it. We'll keep an eye on it with the intention of integrating when it…
26 Sep 2024 01:10 UTC
-
MapViewOfFile error
Hi, thanks for sharing this issue. The error code here is Win32 ERROR_NOT_ENOUGH_MEMORY. In this situation, NCrunch is unable to start the test run because allocating the memory required to track RDI data for the test run failed. Possible solutions include: 1. Increasing available memory (i.…
24 Sep 2024 00:15 UTC
-
Rider plugin loading error with Rider 2024.3 EAP 1
Hi, Sorry, the version of NCrunch available for download was intended to run on the earlier version of Rider (2024.2), so it doesn't support 2024.3 yet. Most likely we'll add support for 2024.3 with 5.11 or something soon after.
20 Sep 2024 23:46 UTC
-
Rider: NCrunch fails to build
When this happens, could you try running MSBuild.exe against the generated project file in the NCrunch workspace, to see if it kicks up the same error as NCrunch? This will help to establish if something is wrong inside the build system itself.
17 Sep 2024 10:52 UTC
-
Could Someone Give me Advice on Optimizing NCrunch Performance for Large-Scale Solutions?
Hi, thanks for posting. The advice in this situation does vary a bit depending on the nature of the performance issue. Which of the following do you feel you are experiencing? - The IDE feels sluggish and doesn't respond well to user input when the engine is running - Tests are timing out du…
15 Sep 2024 23:10 UTC
-
How to apply a default filter to the Tests Window?
[quote=MarkLFT;17599]But even I ignore it, it still appears in the tests list. In the VS Live Tests I can choose which projects to include. Showing every project, including projects that have no tests, and test projects I am not working on is far too distracting, and overrides any benefits I get fr…
11 Sep 2024 00:05 UTC
-
How to apply a default filter to the Tests Window?
[quote=MarkLFT;17597]Thanks for the suggestion, and I understand I can filter based on passing tests, but this does not achieve what I am hoping for. What I was hoping for was the ability for NCruch to be able to include or exclude projects based on the project names or namespaces. Like I can do w…
10 Sep 2024 23:43 UTC
-
Rider: NCrunch fails to build
Thanks! I think this is a desync issue inside the IDE rather than the engine. I'm hopeful the report will be useful. Please do sent it through next time you see the problem.
10 Sep 2024 11:41 UTC
-
How to apply a default filter to the Tests Window?
Hi, thanks for posting. Getting NCrunch up and running on a large solution like this can be some work, but it is very rewarding. I would suggest adjusting the filter options in the Tests Window to turn off 'Show passing tests'. Normally, you don't need to see the whole list of passing tests. …
10 Sep 2024 11:31 UTC
-
Rider: NCrunch fails to build
Thanks for sharing this issue. This feels like a desync of some kind. Could you submit an NCrunch bug report after you've had this happen to you? The log may show some useful details. Also, when it happens, could you confirm whether a reset of the NCrunch engine or opening/closing the source…
10 Sep 2024 11:28 UTC
-
ARM64
[quote] Is it the development part it self? Is it the testing part after having developed the architecture support before being able to release it to public? Is it the support after having it released? [/quote] All of the above. It's impossible to estimate the effort required for something…
06 Sep 2024 09:55 UTC
-
TestContainers generated by tested from docker file of another project
Hi, thanks for posting. I am unfamiliar with this particular framework, which makes it hard for me to give specific advice on its limitations in regards to NCrunch. However, it looks to me like the framework is designed to treat the solution as a single cohesive unit (based on the need to inject…
05 Sep 2024 01:37 UTC
-
Rider: Flickering when using horizontal window split
Hi, thanks for sharing this issue. We're aware of this one and are working on it now. I recommend avoiding the horizontal split for the time being. I'm hopeful we'll have a solution out in the next update.
02 Sep 2024 12:19 UTC