Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Log output within OneTimeSetup? [NUnit]
This will work when applied on a normal fixture, but a SetUpFixture is special. This is because according to NCrunch, A SetUpFixture isn't actually a test. It has no representation in the actual set of test results, therefore it cannot hold a result or a trace output.
05 Jun 2018 12:33 UTC
-
UI hangs for ~3 sec each time when running automatically
It's quite possible this is being caused by garbage collection in the IDE process. Basically, the GC has the power to pause the process for entire seconds at a time to perform heap compactions. This happens longer and more frequently when there is high memory traffic in the process, which is bas…
05 Jun 2018 12:27 UTC
-
Log output within OneTimeSetup? [NUnit]
Under NCrunch, this documentation isn't completely accurate. This is because NCrunch actually seizes the Console stream out from under NUnit and takes control over it. For this reason, using Console.Write or Debug.Write will always result in the trace output being captured in the NCrunch log, rega…
05 Jun 2018 11:31 UTC
-
TeamCity distributed NCrunch is very slow
[quote=robert-j-engdahl;12281]It appears the AtomicAttribute can be applied to assemblies as well. So it would be relatively easy for us to test if that improves speed (there are still 72 of them, so there is something to be parallelized). I'll keep you posted on how that goes.[/quote] It can, …
05 Jun 2018 11:16 UTC
-
TeamCity distributed NCrunch is very slow
NCrunch doesn't have an option to directly control the batching of tests, outside of [url=https://www.ncrunch.net/documentation/reference_runtime-framework_atomic-attribute]AtomicAttribute[/url]. Though in all honesty, given the structure of your solution I don't think you're going to make any bi…
05 Jun 2018 09:12 UTC
-
UI hangs for ~3 sec each time when running automatically
Hi Kieren, Thanks for sharing this issue. We're extremely careful to stay off the UI thread under NCrunch, so I'm not sure if this is being caused by us. The quickest way to know is to launch a second instance of VS, and attach a debugger to the first instance. When the first instance is han…
05 Jun 2018 09:06 UTC
-
TeamCity distributed NCrunch is very slow
The benefits of distributed processing on end-to-end runs generally tend to favour solutions with a large number of medium to slow running tests. By this, I mean tests with a running time of 10 seconds up to about 10 minutes. When working with large test suites of very fast running tests, the over…
05 Jun 2018 06:05 UTC
-
Cannot resize column in covering test popup
Thanks for sharing this problem. This looks like it may be a recent development ... it's happening on my end too. We'll take a look at this and see if we can get it fixed :)
04 Jun 2018 22:39 UTC
-
TeamCity distributed NCrunch is very slow
Hi, thanks for sharing this issue. The problem with the resetting ping issue is caused by a diagnostic message that accidentally went out with the release build. Probably, this may have some impact on performance, though I haven't measured it in detail yet. I recommend turning your logging off …
04 Jun 2018 22:38 UTC
-
Upgraded Web Project Not Building
Try the following: - Wipe the NCrunch cache file as it exists on the build server - Ensure you have a fresh checkout of the source code on the build server (remove any cached copies) - Try configuring your build server to use a local user to run the console tool, which has access to the desktop…
04 Jun 2018 22:28 UTC
-
Code Coverage Markers Misaligned
There is a known issue where CodeLens changes the vertical size of some lines of code (notably the first line of constructors). This causes the NCrunch markers to look a bit out of place on these lines, as they are aligned with the top of the line rather than the bottom. I've had a bit of a brai…
04 Jun 2018 22:19 UTC
-
.NET Core 2.0 Support with re-located build folder
It doesn't look like we have any environment variables of that description during the load of projects .. at least not right now. It occurs to me though that with the new CPS project systems inferring many of the build properties from the project file name that we should be trying to add something …
04 Jun 2018 21:43 UTC
-
.NET Core 2.0 Support with re-located build folder
It should still be possible to redirect your OutputPath without introducing any problems. The issue here is caused by the location of the generated files inside the 'obj' directory. The problem is caused by technical limitations with MSBuild, basically: - We need to be able to run MSBuild over …
04 Jun 2018 11:44 UTC
-
.NET Core 2.0 Support with re-located build folder
It looks like this problem is being caused by a custom build override inside the Directory.Build.Props file: <BaseIntermediateOutputPath>$(RootFolder)Build\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath> Do you know why this has been redirected to a different location? By placing the …
04 Jun 2018 10:09 UTC
-
.NET Core 2.0 Support with re-located build folder
Hi, thanks for posting. With the amount that .NET Core has moved, I don't have high expectations on a release as old as v3.12 working correctly. I'd be willing to bet that we've already fixed this in a later build. I've just dropped a short evaluation license on your website account. You're …
04 Jun 2018 09:20 UTC
-
Upgraded Web Project Not Building
Hi, thanks for sharing this issue. This feels like it could be a package resolution issue of some kind. If the solution works fine under NCrunch on your workstation, but doesn't work using the console tool on the build server, it could be something in the environment causing this. If you try …
03 Jun 2018 23:49 UTC
-
Code Coverage Markers Misaligned
I think that this problem may be related to an optimisation in MSBuild, where it doesn't update files unless they have a timestamp mismatched with the file being updated. I've seen this happen before when using high-end hardware on tiny projects with older versions of MSBuild (i.e. 2008, 2010), bec…
03 Jun 2018 00:57 UTC
-
Code Coverage Markers Misaligned
Thanks Steve. The report confirms that this isn't the result of a tragic and obvious malfunction, which is somewhat disappointing as it means this will be very hard to find. I'll try to share with you the information I have on this problem in the hope that it might help you to narrow down what i…
02 Jun 2018 00:38 UTC
-
Build errors from SourceLink put NCrunch into weird state
Hi, thanks for sharing this problem. Is it possible that the projects are simply not being built because they rely on one of the other projects with a build failure? (Sorry I can't establish the dependency chain in the screen capture).
01 Jun 2018 09:43 UTC
-
Code Coverage Markers Misaligned
Thanks Steve. We didn't change anything in v3.17 that I expect would have solved this problem, so probably it will be back. Let me know if you find a way to reproduce it.
31 May 2018 23:29 UTC