Forum member
VNicholson
27 posts
Posts by VNicholson
-
MSTest TestContext CancellationTokenSource null
[quote=Remco;18289]Would you be interested in trying the build below to see if this meets your needs better? I retested the TestContext constructor injection and property injection test cases and both worked with those new builds. Thanks so much for the insanely fast turn around.
26 Aug 2025 08:12 UTC
-
MSTest TestContext CancellationTokenSource null
Hi, I updated to the most recent MSTest meta package recently and resolved a number of analyzer warnings, [url=https://learn.microsoft.com/en-us/dotnet/core/testing/mstest-analyzers/mstest0049]MSTEST0049[/url] being one of them. The suggested fix for that warning is to leverage the TestContext.Ca…
25 Aug 2025 22:04 UTC
-
Rider: Flickering when using horizontal window split
Hi, When using the NCrunch plugin for JetBrains Rider, when I enable "Split tests window horizontally" the tab view with "Trace Output", "Execution Steps", "Log Summary", and "Hot Spots" starts flickering like it's constantly resizing or toggling the scroll bar visibility (see linked video). The …
02 Sep 2024 05:44 UTC
-
NCrunch doesn't handle MSTest cases annotated with ExpectedExceptionBaseAttribute derivations
[quote=Remco;17324]NCrunch's MSTest adapter is emulated rather than integrated. Trying to make our features work for MSTest by integrating with all versions of it released over the last 20 years simply wasn't something we were able to do, so we instead have our own adapter that behaves as much like…
08 May 2024 03:56 UTC
-
NCrunch doesn't handle MSTest cases annotated with ExpectedExceptionBaseAttribute derivations
NCrunch seems to behave differently to the Resharper and MSTest runners when it encounters test methods annotated with ExpectedException annotations. When the normal ExpectedException annotation is encountered, NCrunch works fine. When an annotation derived from ExpectedExceptionBaseAttribute is…
08 May 2024 00:27 UTC
-
MSTest DataRow using Enum value doesn't work when parameter type is integer
[quote=Remco;17320]Could you confirm how you have your 'Framework Utilisation Type for MSTest' configuration value set? And whether changing it has any affect on the problem?[/quote] The "Framework utilisation type for MSTest" value is currently set to "UseDynamicAnalysis" (Inherited from global s…
08 May 2024 00:01 UTC
-
MSTest DataRow using Enum value doesn't work when parameter type is integer
Hi, I have an MSTest parameterized test where the data rows use enumeration values, but the test method uses an integer (because the test method covers multiple int-based enumerations). NCrunch can't seem to coerce the enumeration value from the data row annotation to an integer despite that bein…
07 May 2024 23:45 UTC
-
NCrunch 4 - Instrumentation Mode - Optimized - Project fails to build
I'm not OP but I could consistently reproduce this problem with 4.0.0.2. Upgrading to 4.0.0.3 has resolved the issue for me.
08 Nov 2019 01:25 UTC
-
Custom nuget.config causing Nuget restore warning
I'm happy to ignore the error if it's benign. Are there plans to make NCrunch respect the nuget.config overrides so it installs dependencies to the specified globalPackagesFolder? Presumably that would also get rid of the spurious warning?
19 Aug 2019 02:34 UTC
-
Custom nuget.config causing Nuget restore warning
I've noticed that having a [i]globalPackagesFolder[/i] element explicitly configured in the nuget.config file of my repository causes the following error to be output by NCrunch. [code=plain]Unable to restore required Nuget packages for .NET Core test environment.[/code] Everything still seems…
18 Aug 2019 21:51 UTC
-
Nothing being written to 'Project config file storage path'
No problem, I'll keep an eye out for the next release.
30 Nov 2016 03:10 UTC
-
Nothing being written to 'Project config file storage path'
Yes, I guess it is two separate issues. Your description of both issues is accurate (let me know if you want me to split them into separate posts). Regarding the solution switching configuration UI issue, I managed to reproduce this quite easily: * I created a new Class Library project in C:\A…
29 Nov 2016 22:52 UTC
-
Nothing being written to 'Project config file storage path'
Hi, I'm trying to use the new v3 'Project config file storage path' feature to save NCrunch configuration to a folder outside of the source directory. I've set the appropriate configuration and have checked the .v3.ncrunchsolution file and confirmed the ProjectConfigStoragePathRelativeToSolutionD…
29 Nov 2016 21:20 UTC
-
NCrunch 3 Crashed devenv.exe During First Crunch Wizard
Thanks Remco, I've tried the build and the wizard now completes without error. I'm not sure whether it's intentional, but the last few pages of the First Crunch Wizard no longer appear with 3.0.0.2 (the Ignore page doesn't appear for instance). If that's intentional, then consider this one fixed.…
29 Nov 2016 07:42 UTC
-
NCrunch 3 Crashed devenv.exe During First Crunch Wizard
Hi, I just upgraded to NCrunch 3. I opened a solution and devenv.exe crashed at the end of the First Crunch Wizard (after clicking next on the Ignore page). I'm running Visual Studio 2015 on Windows 10 and I can reproduce this crash every time I end the wizard. My NT Event Log has the excep…
29 Nov 2016 06:41 UTC
-
Grid Node Storage Data Limit
Okay, thanks for the explanation. In my case I only notice the problem every now and again so I assumed the clean-up wasn't happening and files were building up over time (in my case the Snapshots folder takes up all the space). It seems more likely I'm just doing something in Visual Studio that is …
30 Mar 2016 23:57 UTC
-
Grid Node Storage Data Limit
I have a Grid Node server with the 'Solution storage data limit (in MB)' setting set to 5000. On the Grid Node server itself, the workspace base path currently has 12 GB of data in it. How is the storage data limit applied on a Grid Node server? I understand it can't exactly cut-off at the config…
30 Mar 2016 20:52 UTC
-
VS2015 RC No Markers
I can reproduce the issue too. - Which exact release of VS are you using? i.e. enterprise, professional, community Visual Studio 2015 RC, Professional Edition (full list of plugins at the bottom of this post). - How was your upgrade of VS applied? Did you run the installer straight over CTP…
01 May 2015 02:32 UTC
-
Build failure with InvalidCastException.
Thanks Remco, the 2.10.0.1 build worked for me in Visual Studio 2013.
10 Sep 2014 03:54 UTC
-
Build failure with InvalidCastException.
[quote=Remco;6342]Thanks! If you can get me a standalone repro, then there is a really good chance I can fix this problem.[/quote] I was expecting quite a difficult repro, but the first class I copied to my stand-alone demo reproduced the problem :) All you need is a 'uint' enumeration that is s…
08 Sep 2014 20:02 UTC