Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Build Not Completing
Thanks! It's refreshing to know that other people are still using the older frameworks. Most of the problem reports these days are on the newer stuff (VS2017, .NET Core, .NET 4.6.2, etc). I still look forward to the day when I can upgrade the NCrunch core components to .NET 4.0. I'll watch out…
12 Apr 2017 06:18 UTC
-
netstandard issue
[quote=kentcb;10251]Not only does this work, it works exactly per my mental model before diving in. Really awesome stuff, Remco.[/quote] Thanks :) This one was quite a challenge to implement, as it involved knowing all the target frameworks prior to the project being loaded. Good to know it's w…
12 Apr 2017 06:14 UTC
-
Build Not Completing
Is there any chance you could submit a bug report directly after seeing this behaviour? (i.e. the green going to blue and staying there). Also, what kind of project is this? (i.e. .NET Framework, .NET Core, netstandard, etc).
12 Apr 2017 00:13 UTC
-
1 solution ncrunch treating 2 projects differently
I'm glad to hear this got you up and running again, although I don't think we've solved the root of this problem. You'll likely see it happen again :( There is something not right in the dependency resolution in your solution. Somewhere in your solution you have projects depending on derived fi…
12 Apr 2017 00:10 UTC
-
NCrunch console on TeamCity, counting test vs Fixture
NCrunch's TeamCity integration looks for the existence of the 'TEAMCITY_VERSION' environment variable. In theory, if you can find a way to delete this environment variable prior to running ncrunch.exe, then you should be able to disable the integration.
12 Apr 2017 00:05 UTC
-
NCrunch console on TeamCity, counting test vs Fixture
I've just done a quick review of the TeamCity integration and NUnit XML reporter. NCrunch definitely emits messages for TeamCity using the ##teamcity syntax. Why these aren't shown in the TeamCity log is not clear to me. It's possible TeamCity itself is masking or processing the messages. NCru…
11 Apr 2017 11:55 UTC
-
1 solution ncrunch treating 2 projects differently
Ok, let's see if we can find the dependency on the foreground solution. Try the following: - Close your IDE - Browse to your solution directory - Delete ALL derived files in every project (i.e. the contents of \bin and \obj). Make sure no DLLs exist for any of these projects. Your solution s…
11 Apr 2017 11:44 UTC
-
1 solution ncrunch treating 2 projects differently
Thanks for sharing these extra details. You mentioned that your colleagues aren't having this problem. Are they using the same solution? Is it possible that assemblies output from either of these projects have been installed in your GAC?
11 Apr 2017 11:13 UTC
-
netstandard issue
v3.6 of NCrunch doesn't have the ability to configure the multi-targeted projects independently of each other. I'd actually recommend using an early build of v3.7 which includes this feature: [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.msi]http://downloads.ncrunch.net/NCrunch_Conso…
11 Apr 2017 11:12 UTC
-
NCrunch console on TeamCity, counting test vs Fixture
This is actually what NCrunch already does, but it still needs to represent the fixtures in the log. A fixture test is still a test, because it has its own results in the form of console output, pass/fail, code coverage, etc. So NCrunch reports tests using the syntax you've described above, an…
11 Apr 2017 10:06 UTC
-
1 solution ncrunch treating 2 projects differently
[quote=ChloeT;10229] By rebuild I mean in VS I select Project M, right click it and select Rebuild in the context menu. [/quote] Ok, this is a critical piece of information. When a solution is wired together correctly, NCrunch has no dependency on your foreground (VS) build. Can you examine…
11 Apr 2017 10:02 UTC
-
NCrunch console on TeamCity, counting test vs Fixture
NCrunch has some special integration with TeamCity. This integration isn't very sophisticated. Basically, NCrunch looks for an environment variable present when TeamCity is resident. Where this exists, NCrunch will add some extra output to the trace log to give some more structured test results w…
10 Apr 2017 21:02 UTC
-
1 solution ncrunch treating 2 projects differently
When you say you need to rebuild project M, do you mean rebuilding in the IDE, or reloading using NCrunch? Has NCrunch given you any warnings about your assembly references? (try clicking on the 'Show all hidden warnings' button in the tests window to be sure).
10 Apr 2017 20:54 UTC
-
Tests re-executing if modifying Tests window layout
Thanks for sending that through. The log doesn't seem to reveal any queuing of tests after the engine mode was changed. Which area of the UI are you manipulating to trigger the engine? Are there precise steps that seem to make the engine queue new tasks?
10 Apr 2017 11:52 UTC
-
1 solution ncrunch treating 2 projects differently
Hi, thanks for sharing this issue. Can you share any more details about these projects? Particularly, any structural differences between them? Are they both test projects? Are you using shared projects at all? Also, when you say that you need to rebuild the project, do you mean rebuild the …
10 Apr 2017 11:40 UTC
-
Tests re-executing if modifying Tests window layout
This doesn't make much sense to me. There is no connection between this area of the UI and the engine. Are you certain there isn't any other reason why the tests might start executing? I can't seem to get this to happen on my end. If it still does for you, are you able to submit a bug report (…
09 Apr 2017 11:24 UTC
-
netstandard issue
With PCL, you still need to define a target framework version that can be used to choose the version of the .NET that should be used to run your code. Under netstandard, there is no way to safely infer this. For NCrunch to be able to run your tests under netstandard, it would need to choose a pl…
09 Apr 2017 00:17 UTC
-
netstandard issue
Hi, thanks for sharing this problem. This is actually a runtime exception. It's being thrown when NCrunch tries to load this assembly into a runtime environment for the purposes of discovering tests. Do you have tests inside a netstandard project? If so, this doesn't really make sense. Nets…
08 Apr 2017 12:44 UTC
-
Long Time to Start Test
Hi Ed, Try turning on this setting: [url=http://www.ncrunch.net/documentation/reference_global-configuration_track-engine-performance]http://www.ncrunch.net/documentation/reference_global-configuration_track-engine-performance[/url]. Then restart your IDE, run the test, and examine the 'Execut…
07 Apr 2017 22:18 UTC
-
"Run impacted tests automatically, other manually" does not detect changes in MSpec tests.
Sorry that it's taken so long to sort this out. Try the build below and let me know how you get on. [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.msi]http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.zip]http://d…
07 Apr 2017 05:47 UTC