Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
NCrunch does not output Assert.Ignore reason
This looks to be a fault in NCrunch's handling of the inconclusive state. It simply isn't taking into account the message returned by NUnit. Thanks for reporting it. I've noted it down to be fixed.
30 Mar 2017 10:47 UTC
-
NCrunch console 3.6 ignores /E parameter?
[quote=GreenMoose;10164]Regarding engine mode not being picked up, I found the issue I think. My ncrunch config file contained <EngineMode> <Name>Manual</Name> <Settings /> </EngineMode> (default when creating a new engine mode it seems?)[/quote] Did NCrunch itself do t…
30 Mar 2017 10:42 UTC
-
NCrunch console 3.6 ignores /E parameter?
When told to /E to an engine mode that it can't find, NCrunch will just swallow the problem and use the default instead. The engine mode is switched using an event that originates within the console tool code (EngineModeSwitchedInUIEvent) on response to DteSolutionOpenedEvent. The /C option on t…
30 Mar 2017 08:38 UTC
-
Contradicting Success/Failure Indicator
Hi, thanks for posting. There are two known ways that this can happen. Both are by design: 1. When using an expected exception attribute (syntax depends on framework), NCrunch can catch the expected exception and report this as an X, but the test is still a pass. 2. When debugging using NC…
30 Mar 2017 02:16 UTC
-
Issue Building .NET Core Project in VS2017 with 3.6
Hi Mark, Thanks for sharing this issue. The exception you're seeing above is what happens when NCrunch tries to build a shared project. Right now support for shared projects is still a work in progress, so it isn't very tidy yet, though it does still work. Shared projects themselves only act…
29 Mar 2017 23:47 UTC
-
Null when hovering over a variable
Hi, Thanks for sharing this problem. This is a known issue. It's been around for a very long time, and though it's well understood what causes it and even what can be done to fix it, at the moment the better option seems to be not to fix it. I'll try to explain why ... When NCrunch instru…
29 Mar 2017 11:32 UTC
-
Build issue with 4.5 test project referencing multi-target core project
[quote=narshe;10141]This issue with doing that is it will only build net45 and not all the other types. This would work temporarily while developing, but isn't ideal. If I switch the project over to using the new core project types (I'm assuming that's what CPS projects are), would this solve the…
28 Mar 2017 23:50 UTC
-
CLI Suddenly Creates New Workspace at End of Tests
Hi, thanks for sharing this problem. My first guess here would be that there has been a file system change in the solution being targeted by the console tool. Perhaps as a result of the execution run itself. This then triggers NCrunch's file synchroniser which in turn causes the engine to adapt…
28 Mar 2017 23:45 UTC
-
"Run impacted tests automatically, other manually" does not detect changes in MSpec tests.
Hi, Sorry, this hasn't been addressed yet. Unfortunately the last few months have been utterly crazy (new VS, NCrunch v3, new MSTest, .NET Core, etc). It's in the backlog to be looked at in the near future.
28 Mar 2017 23:40 UTC
-
NCrunch Does Not Copy Files Marked "Copy Always"
Hi, Can you share any more details about these files? Are they specified in your test project, or in a project referenced by your test project? Where do they exist relative to the test project file? If the files are declared in a project referenced by your test project, there is a limitation…
28 Mar 2017 21:28 UTC
-
Build issue with 4.5 test project referencing multi-target core project
Hi, thanks for sharing this problem. This is caused by NCrunch failing to correlate the target framework of the test project with the main project. NCrunch assumes that for the target frameworks to be correlated, both projects would have them specified (using CPS projects). In truth, I didn't k…
28 Mar 2017 21:18 UTC
-
NCrunch console ERROR (Internal): System.ArgumentNullException
[quote=GreenMoose;10131] *Edit: Also I could not repro it locally (where I have vstudio2017 installed) so I guess it is related to settings in global.json along with the specific SDKs installed on built agent.[/quote] NCrunch itself no longer cares about global.json (earlier DNX integrated build…
28 Mar 2017 11:21 UTC
-
Exluding files from Autobuild does not apply immediately
I've just had a thought. The config setting you've set will prevent NCrunch from triggering builds when .ts or .html files are changed, but they won't prevent NCrunch from triggering builds when the IDE touches other files on the file system as a result of these files being changed. For example,…
28 Mar 2017 11:16 UTC
-
Exluding files from Autobuild does not apply immediately
I've just done some quick testing on this, but couldn't get it to misbehave. My first thought was that perhaps the engine might be queuing tests without queuing build tasks, though such behaviour also doesn't seem to happen for any of my tests. Let me know if you manage to pin this down.
28 Mar 2017 10:52 UTC
-
NCrunch console ERROR (Internal): System.ArgumentNullException
[quote=GreenMoose;10127] I later introduced some vs2017-only projects, and for some reason this seems to cause NCrunch to fail. After cleaning up all vs2015 leftovers NCrunch on TeamCity is happy again :).[/quote] Interesting ... How did this cause NCrunch to fail? Did it just fail to recognise…
28 Mar 2017 08:12 UTC
-
NCrunch console ERROR (Internal): System.ArgumentNullException
[quote=GreenMoose;10125] Hrm no, I have a lot of projects in this solution :|.[/quote] You may need to apply some deductive logic here so we can work out why the console tool won't load the projects. A few interesting things to check: - Does the console tool also behave this way when used on…
27 Mar 2017 23:14 UTC
-
NCrunch console ERROR (Internal): System.ArgumentNullException
Hi, thanks for sharing this problem. I can see how this is happening in NCrunch and it should be easy to fix it, but this looks like a downstream problem from something else. This exception should only happen if you are running NCrunch over a solution with no projects able to be processed (i.e. al…
27 Mar 2017 12:22 UTC
-
NCrunch code coverage icons not displayed when using MoeIDE extension
[quote=Der-Albert.com;10121]There was no color gutters on some lines, white gutter on clearly covered lines, single gutter at the start of the method (on that timeframe i wrote the me too). but in another project (fresh, never run with NCrunch) yesterday everthing everthing was fine. Today i ope…
27 Mar 2017 12:16 UTC
-
NCrunch code coverage icons not displayed when using MoeIDE extension
[quote=Der-Albert.com;10119]No, no special extensions. Except ReSharper. Currenty the color gutters are shown and actionable.[/quote] Sorry.. I'm now confused. Is this an intermittent issue? Or are there different colours that are out of alignment for you? (i.e. not the markers)
26 Mar 2017 22:41 UTC
-
NCrunch code coverage icons not displayed when using MoeIDE extension
[quote=Der-Albert.com;10117]Btw. the coloring is gone on my machine while working, and is not coming back. restart of VS2017 does not help.[/quote] Are you using the above extension, or anything similar that might affect visual layouts? Does running "C:\Program Files (x86)\Microsoft Visual Stu…
24 Mar 2017 22:47 UTC