Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
NCrunch cannot load project when using VLC binaries
A fix for this issue is now available in v2.21, released today - [url=http://www.ncrunch.net/download]http://www.ncrunch.net/download[/url]
22 Apr 2016 03:20 UTC
-
Issue with code coverage markers
Hi, Thanks for sharing this issue. I've managed to identify a code coverage consistency problem that can be triggered by certain change sequences made to source files. Although the problem has been long standing, it appears much more often under v2.20 after this version introduced some change…
22 Apr 2016 03:17 UTC
-
Test projects not able to be analysed for tests
Hi Henry, It isn't clear to me why the MSI is installing these modules where it is. This would appear to be erroneous behaviour of the windows installer, or perhaps there is something else amiss. ALL module files are expected to be inside a subdirectory 'Modules' inside the install path. In …
22 Apr 2016 00:15 UTC
-
Test projects not able to be analysed for tests
Hi Henry, This looks to me like a corrupt install state. Do you have an NUnit ncrunchmodule file sitting in your root NCrunch install directory? I realise you've already uninstalled/reinstalled a few times, but something worth trying is making sure the install directory is completely delete…
21 Apr 2016 23:17 UTC
-
Aborted tests leaving behind running selenium processes
Hi, Unfortunately, there isn't any feature in NCrunch that can be targeted to a problem like this. It needs to be solved by the tests themselves. Ideally, you'd probably want each test to automatically terminate any orphaned chromedriver.exe processes at the start of each run. Pulling up the…
20 Apr 2016 22:53 UTC
-
Cleanup during NCrunch process exit?
Hi, Unfortunately, there isn't a reliable way to do this, as NCrunch terminates its processes externally (by the engine itself). In earlier versions, the process was responsible for terminating itself in response to requests from the engine, but this proved problematic as sometimes user code w…
20 Apr 2016 22:39 UTC
-
.NET Framework 4.6.2 FSharp Analysis Failure
Hi, Thanks for sharing this issue. As 4.6.2 is still in a preview state, it isn't yet supported by NCrunch. A targeted task runner will be introduced for this version of the framework when it is officially released.
20 Apr 2016 12:25 UTC
-
Possible bug with XML results output
I'll see if I can squeeze it into the 2.21 release due this week.
20 Apr 2016 12:21 UTC
-
Possible bug with XML results output
Interesting, thanks for letting me know about this one. I'll make a note to get it fixed.
19 Apr 2016 11:05 UTC
-
NCrunch Tests Window - Run All Tests Disabled
Hi Bob, These two toolbar options are dependent on the selected item in the Tests Window. In this situation, you have no tests selected, so the toolbar options are disabled. Try turning on the green checkmark so that your passing tests are visible, then try selecting a test. The buttons sh…
19 Apr 2016 04:10 UTC
-
Grid Node + MSBuild 14 detection
Hi, thanks for sharing this issue. NCrunch searches for MSBuild through the presence of the "Microsoft.Build, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" assembly inside the GAC. If NCrunch can't find this file in the GAC, it won't be able to r…
19 Apr 2016 04:08 UTC
-
NCrunch Tests Window - Run All Tests Disabled
Hi Bob, Sorry - for some reason, the image you've linked to doesn't seem to open for me (access denied perhaps)? Are you able to access these options via context menu? Can you submit a bug report? I wonder if something is going wrong under the hood.
19 Apr 2016 00:11 UTC
-
Re-running failed tests via NCrunch grid and TeamCity
Your understanding is correct - the IsFailing flag should be the only one you need. I've just done some testing on my side with the same scenario, as I personally haven't tested these features used together in quite the same way as you're running them right now. The engine functioned largely as …
18 Apr 2016 00:26 UTC
-
UI does not reflect changed NUnit TestCaseSource data, leading to running the wrong tests
MbUnit seems to have frozen in time, but Xunit is being actively worked on at the moment. Xunit doesn't suffer from this problem because it uses algorithmically generated IDs for each test (I've been suggesting the same approach to the NUnit developers). I expect that this problem will eventuall…
15 Apr 2016 22:42 UTC
-
Re-running failed tests via NCrunch grid and TeamCity
[quote=Phonesis;8606] Thanks Remco, much appreciated. Will try this. In your link, it mentiones the path must be relative to the solution? Can I do something like: <NCrunchCacheStoragePath>C:\NCrunchCacheFiles\</NCrunchCacheStoragePath> [/quote] Yes! That should work correctly. The c…
15 Apr 2016 11:57 UTC
-
Listed tests that cover code not correct
Hi, thanks for sharing this code sample. In this instance, the code coverage data shown by NCrunch is physically correct, because it represents the true path of execution of each test. Note that the ClassInitialize attribute doesn't work when applied on base classes under MSTest, so it is not …
15 Apr 2016 05:56 UTC
-
UI does not reflect changed NUnit TestCaseSource data, leading to running the wrong tests
[quote=jnm236;8600] What is your opinion on using the test name rather than the ID? That includes the parameter and is required to be unique. There's also a huge plus with using the name. Even if names aren't unique, humans will not care if you switch tests results with the same name because that'…
15 Apr 2016 05:39 UTC
-
UI does not reflect changed NUnit TestCaseSource data, leading to running the wrong tests
Thanks for sharing the code sample, this really makes things much easier to understand. I can see what's happening here now. As mentioned earlier, NUnit uses sequential IDs to identify tests internally. This doesn't work well for NCrunch, because NCrunch needs to be able to correlate test resul…
14 Apr 2016 23:54 UTC
-
Re-running failed tests via NCrunch grid and TeamCity
Hi, thanks for posting. Most likely this is caused by a lack of cached test results on the TeamCity controller. When NCrunch shuts down or completes a run of the console tool, it will store all results (including code coverage and timing information) inside a .cache file underneath an _NCrunch…
14 Apr 2016 23:22 UTC
-
NCrunch cannot load project when using VLC binaries
Hi Thomas, Thanks for sharing this issue. This problem looks to be caused by a bad evaluation sequence in NCrunch's interaction with MSBuild during project load. The VLC targets file includes a property that is evaluated before NCrunch sets the $(SolutionDir) property, and this causes the eva…
14 Apr 2016 07:06 UTC