Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Not initializing due to exception
[quote=christopher7694;15417] I have a Directory.Build.props file that uses the two properties: BaseIntermediateOutputPath and IntermediateOutputPath. Does NCrunch pick up these properties?[/quote] Changing these properties massively increases the complexity of the load system under NCrunch, e…
27 Apr 2021 00:55 UTC
-
Not initializing due to exception
Hi, thanks for sharing this problem. The project.assets.json file is supposed to be produced by VS prior to NCrunch loading the project. Sometimes, it isn't ready in time and NCrunch needs a reload cycle to pick it up. Can you confirm whether building the solution in VS then resetting NCrunch r…
27 Apr 2021 00:25 UTC
-
Unstable Test Generation (Removing tests doesn't adjust discovery count)
[quote=GibSral;15413] I am using the latest ncrunch version (4.8.0.3)[/quote] Did the error contain any other useful analysis? Perhaps a list of the tests that are missing/surplus between the discovery run and the test run?
23 Apr 2021 07:54 UTC
-
Unstable Test Generation (Removing tests doesn't adjust discovery count)
Could you also confirm which version of NCrunch you're running? In v4.7 (released two months ago), we introduced improved handling of this situation so that the engine will report more detailed information on which tests might be responsible for the problem. If you're running an older version than…
22 Apr 2021 08:58 UTC
-
Unstable Test Generation (Removing tests doesn't adjust discovery count)
Hi Lars, Thanks for sharing this issue. I can't see anything wrong with this specific bit of test generation. I'm wondering if the issue might be related to something else in your test suite. Could you try the CSV/Text export comparison described above to see if this highlights any consisten…
20 Apr 2021 09:20 UTC
-
Enable NCrunch is disabled
Thanks for submitting the bug report. It looks like something is blocking the engine process from starting. If you haven't already, try reinstalling NCrunch. Check that the files in the NCrunch install directory aren't being blocked by the OS/Explorer (it's frustrating but it does often do this…
14 Apr 2021 11:56 UTC
-
Enable NCrunch is disabled
Hi, thanks for sharing this problem. Can you confirm whether you're using a preview version of VS? Could you submit an NCrunch bug report after you've opened a solution in the IDE?
13 Apr 2021 22:57 UTC
-
Strong name validation failed
You can use an #if NCRUNCH directive to replace the key token in the declaration. For example: #if NCRUNCH [assembly: InternalsVisibleTo("Friend1")] #else [assembly: InternalsVisibleTo("Friend1, PublicKey=xyz")] #endif If you don't actually need the test project to be signed, I would re…
08 Apr 2021 23:37 UTC
-
UserException - targetting netstandard 2.0
Hi Matthew, Thanks for sharing this issue. Have you identified any pattern around when the issue appear? Things to watch for: - The issue appearing right after VS is started - The issue appearing after you update projects externally, such as after doing a git pull My gut feel here is that …
07 Apr 2021 22:38 UTC
-
Strong name validation failed
Hi, thanks for sharing this problem. Something must have gone wrong in the signing of this assembly. It isn't usually necessary for test assemblies to be signed, so you can probably resolve this issue by turning on the [url=https://www.ncrunch.net/documentation/reference_project-configuration_pr…
07 Apr 2021 22:34 UTC
-
Nasty bug with Ignored tests
You could try placing the acceptance tests in their own [url=https://www.ncrunch.net/documentation/concepts_test-categories]category[/url], then adjusting the [url=https://www.ncrunch.net/documentation/reference_solution-configuration_tests-to-execute-automatically]tests to execute automatically[/ur…
06 Apr 2021 23:31 UTC
-
Nasty bug with Ignored tests
Hi, thanks for sharing this issue. When ignoring tests, we identify those tests by their structural name in the codebase. If the name of a test changes, the selector used to ignore the test is invalidated. The namespace forms a critical part of the test's name. We have no other way to iden…
05 Apr 2021 22:57 UTC
-
Enabling Ncrunch on any new project causes hang and crash
Thanks letting me know what the cause was. We'll get a fix put in so it doesn't bother anyone else :)
03 Apr 2021 11:45 UTC
-
Enabling Ncrunch on any new project causes hang and crash
Hi, thanks for sharing this problem. I'm willing to bet something has gone wrong in your global config file. Delete the contents of C:\Users\USER\AppData\Roaming\NCrunch while the IDE is closed. This should reset your global configuration and hopefully resolve the issue.
02 Apr 2021 23:16 UTC
-
Failed to Load Any Projects in NCrunch
For this particular problem, I don't expect the logs will be able to tell us much ... as the issue is more around something not being reported rather than a specific failure inside NCrunch. Still, it's probably worth submitting a bug report. I'll review the log in the report to see if there's anyt…
01 Apr 2021 00:13 UTC
-
Failed to Load Any Projects in NCrunch
Thanks for sharing this issue. Is this something you can reproduce with a sample solution? I wonder if it may be related to the project type.
31 Mar 2021 11:16 UTC
-
NCrunch not respecting FilesExcludedFromAutoBuild config option
Hi, See here for more information on how to solve this problem - [url=https://forum.ncrunch.net/yaf_postst3104_ApprovalTest.aspx]https://forum.ncrunch.net/yaf_postst3104_ApprovalTest.aspx[/url]
31 Mar 2021 00:44 UTC
-
Solution with many projects - filter the tests on project name
Hi, thanks for sharing this idea. We do already have the [url=https://www.ncrunch.net/documentation/reference_solution-configuration_tests-to-execute-automatically]tests to execute automatically[/url] setting that can be overridden by engine modes and will do a large part of what you're after. T…
25 Mar 2021 23:34 UTC
-
Unloaded Projects
Hi Wilhelm, Thanks for posting. The unloading of projects in VS isn't a feature that we can properly support, because we need to have all projects in the dependency tree loaded to be able to construct a runtime environment. NCrunch can't produce results if a critical project is unloaded, whic…
24 Mar 2021 23:12 UTC
-
NCrunch test fails to find an output file from a reference project
Hi, thanks for posting. To allow NCrunch to work with this structure, you need to turn on the [url=https://www.ncrunch.net/documentation/reference_project-configuration_copy-referenced-assemblies-to-workspace]copy referenced assemblies to workspace[/url] setting for the referencing project. This…
24 Mar 2021 22:55 UTC