Forum member
abelb
155 posts
Posts by abelb
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
Aha, it says "overridden by current engine mode". I have "Run impacted tests automatically". That looks like the engine mode this should actually have effect on, no? Or this setting simply means: run everything on each change. Which indeed is not useful for me, as my main project still has some 2500…
19 Dec 2016 23:34 UTC
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
You're welcome, I updated while you were typing with more ideas ;). [quote]- http://www.ncrunch.net/documentation/reference_solution-configuration_only-consider-tests-outofdate-if-impacted. The impacted only engine mode overrides this and sets it to true.[/quote] It looks like that was switched …
19 Dec 2016 23:30 UTC
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
Thanks for your quick response. [quote]I also wonder if there is a way to make these sorts of problems more obvious. Perhaps placing a timestamp at the top of the test output indicating when the test was last run? [/quote] The primary focus of someone is usually at the icons, they are clearest: …
19 Dec 2016 23:15 UTC
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
Sorry for the spam, but I think there is definitely a bug here. The closest I can get to "Clean" in NCrunch is the button "Resynchronise, Rebuild and Rerun all tests (Reset)". Doing that after first creating the faulty situation and then fixing it, will still show the BadImageFormatException. The…
19 Dec 2016 20:49 UTC
-
NCrunch does not recognize changed config files, when the change happens outside Visual Studio
I just changed config files outside of Visual Studio and I don't see those changes reflected in Visual Studio (while VS does say "This project has changed ... reload bla bla" for other files that I reset using my DVCS). Restarting VS fixed the issue. Perhaps it is possible to monitor the configur…
19 Dec 2016 20:41 UTC
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
And it remains very surprising that: renaming the project from A ==> B will rerun the tests, and from B ==> A does not (or at least for some reason it shows the original error). As if it thinks "hey, these tests aren't impacted, I have an old cache of this project, let's show that". All this toge…
19 Dec 2016 20:35 UTC
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
Oh darn, I think I have it. The visual clue of what happens in the NCrunch test window is not what I expected. If I [b]explicitly[/b] select that test to run in a new process, it succeeds (after first having the BadImageFormatException, then fixing the NCrunch configuration, then rerunning the te…
19 Dec 2016 20:33 UTC
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
I will try to keep my project open and check how long it takes for the error to disappear (as it did last time), or whether it stays around this time. Either way, I have put this scenario in my DVCS, so if you need "eyes on the scene" I can do that for you. And one more thing, which I didn't test…
19 Dec 2016 20:09 UTC
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
It turned out that the whole process was reproducible step-by-step. I have sent a Bug Report from VS for almost each step, leading to 6 reports. Number five is the one where renaming the project solves the issue and number six being where renaming it back unsolves it (i.e., raises the original error…
19 Dec 2016 20:06 UTC
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
Sorry, I seem to have forgotten about the bug reporter in VS for NCrunch. Though I am positive that the error + the number of the directory was the same between sessions. I have seen before that NCrunch processes stay around when I close VS, perhaps this is related? I will try to repro though.
19 Dec 2016 14:46 UTC
-
Impossible to get rid of NCrunch finding referenced file in wrong cached location
This one may be hard to diagnose or repro, but I had the following: [list=1] [*]Some existing solution with existing projects having x64, x86 and AnyCPU variants [*]Added a project (F#), this defaults to AnyCPU [*]Added NUnit, reference to one of the other projects (project ref) and a dummy te…
19 Dec 2016 06:43 UTC
-
NCrunch Configuration window helptext can get focus and blinking cursor
Thanks for our quick response :). For comparison, I see I didn't paste in a copy of how the properties-window's helptext looks (with the same default color scheme). But as you can see here, it isn't grey, does not have a white border and doesn't have a blinking cursor. Just for completeness of th…
17 Dec 2016 20:06 UTC
-
Unable to parse the configuration setting Text output font (after upgrade to v3)
One more thing I just noticed, this particular font (Source Code Pro) gets stored with a double-value of 8.99999 (with the comma, of course), whereas for instance Arial gets stored as 9 points. Not sure this helps, but just noticed it and thought I'd share it: [code=xml]<TextOutputFont>Source Cod…
16 Dec 2016 22:36 UTC
-
NCrunch Configuration window helptext can get focus and blinking cursor
(another one of those tiny issues) If I'd compare the helptext at the bottom of the NCrunc Configuration window I'd compare it with the Properties window, for instance, where the text is a label that cannot receive focus (and has a title and a different default background color, but that's a desi…
16 Dec 2016 21:55 UTC
-
Cut-paste icon is shown, instead of drag icon when you widen a column in the configuration (v3.x)
In the new configuration window, I think a slightly off icon is shown which suggests you are dragging the whole column, while in fact column dragging is not supported, you are dragging only the vertical bar. [img]http://i.imgur.com/NQGwL5L.gif[/img] I would have expected this icon (I think thi…
15 Dec 2016 03:24 UTC
-
Unable to parse the configuration setting Text output font (after upgrade to v3)
Thanks for your quick response (as always!). The issue may be a tad larger than I thought at first (meaning, I noticed a few behaviors that may happen with other errors as well, in particular, the error staying). I tried a few things: [list=1][*]Indeed, the error (re)appears with font-sizes that …
15 Dec 2016 02:58 UTC
-
Unable to parse the configuration setting Text output font (after upgrade to v3)
After I upgraded my 2.x to the current 3.x I first got the "first time" wizard again and after it finished, the NCrunch Tests window shows: [quote]The setting 'TextOutputFont' as declared in 'R:\AppData\NCrunch\globalconfig.crunch.v3.xml' could not be read by NCrunch. The default value will be u…
14 Dec 2016 16:13 UTC
-
Loading / running FsCheck tests
Strange, out of the blue, with the app.config set for a while now, I received it again, this time on TestCaseData: [code=plain]An error occurred while analysing this project after it was built: System.InvalidCastException: Unable to cast object of type 'NUnit.Framework.TestCaseData' to type 'Sys…
11 Dec 2016 01:06 UTC
-
With CPU architecture x64, hosting strategy x64SatelliteProcess, NCrunch runs in an x86 process
From your link: [quote] Where the test assembly is built to target AnyCPU, NCrunch will then inspect the use cpu architecture NCrunch configuration setting on the test project. If this setting is anything other than AutoDetect, NCrunch will use the platform specified and will consider nothing furt…
05 Dec 2016 12:26 UTC
-
Loading / running FsCheck tests
Basically, your solution is similar to mine. I guess rebuilding from source may not have been needed, but it helped in some other areas (the NuGet reference broke the F# Core reference after installing FsCheck). Thanks for helping out. I have meanwhile checked my other test environments and CI en…
05 Dec 2016 12:22 UTC