Forum member
AlSki
17 posts
Posts by AlSki
-
NCrunch build failure after adding Microsoft.Net.Compilers package.
Had the same problem, moving from directory level "Additional folder" to solution level has fixed it.
28 Jun 2016 13:30 UTC
-
process has no package identity
D'oh. Must read the instructions next time. Its a VS2013 Universal app, so shared.dll +WIndows.dll +WindowsPhone.dll. I'm currently testing against the WinPhone dll but I'll switch the testing onto the Windows side. Thanks.
31 Mar 2015 23:09 UTC
-
process has no package identity
Submitted
31 Mar 2015 22:58 UTC
-
process has no package identity
I can still replicate this in 2.13.0.4 and 2.13.0.5 by following the exact instructions above. Switching to HostInsideIDE doesn't help unfortunately. Any suggestions or is there anything else that might help you diagnose? Running VS2013 Premium update 4. The tests work via MS test explorer and…
31 Mar 2015 22:52 UTC
-
Hiding UIs during testing
If you need the full code example with PInvoke just shout, and I'll email it over.
16 Oct 2013 06:57 UTC
-
Hiding UIs during testing
Hi Remco, After steadfastly refusing to unit test Microsoft's UI code for them in the past and working only in the ViewModel and Model tiers, I find myself wanting to write a custom control and therefore test that it works correctly. Which is nice, but also means that some of the time it has to be …
16 Oct 2013 06:53 UTC
-
NuGet2.5 native assemblies
For a while now we've been trying at work to get rid of the last non-packaged dependencies for our applications. We already used NuGet for std things, [i]e.g. nunit.framework, specflow, moq, should etc.[/i] and our own internal libraries but we just had some unmanaged dlls that we couldn't get aroun…
23 May 2013 15:06 UTC
-
NCrunch instrumentation doesn't show in split/new windows
If you use the visual studio menu options, Window->Split or Window->New Window then no coverage indicators are applied to additional views. This limits nCrunch interaction to the first window that was opened only.
22 Feb 2013 21:46 UTC
-
Integration with SpecFlow
Sorry been thinking about this a little more. Where a file has a custom tool that generates another file, then nCrunch is kicking off builds as you change the source file even though nothing will be different in the build until you save and therefore trigger the custom tool to create the generat…
26 Apr 2012 09:08 UTC
-
Integration with SpecFlow
Thanks Remco. I'm perfectly happy with the workaround, just wasn't sure if you took account of any Custom Tools, including WinForms Designer or Data Designer generated as well. I suppose if nobody else is raising this then its not a feature to consider yet. :-)
22 Mar 2012 09:36 UTC
-
Integration with SpecFlow
In case you don't use it, Specflow uses xxx.feature files with a Custom Tool attribute in VS, "SpecFlowSingleFileGenerator" that automatically generates a xx.feature.cs file whenever you save the .feature. The feature.cs contains the testable code. So if I modify my feature, ncrunch detects that and…
21 Mar 2012 10:57 UTC
-
v1.37b failing to build project that v1.26 did
Moving to dynamic analysis does correctly solve the problem. The offending code is [quote] public enum TestCategory { FAST_RUNNING_TESTS, SLOW_RUNNING_TESTS } [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowM…
20 Mar 2012 10:27 UTC
-
v1.37b failing to build project that v1.26 did
About is now showing correctly though.
19 Mar 2012 11:52 UTC
-
v1.37b failing to build project that v1.26 did
Uninstall - Reboot - Download - Install And still I get the following on ONE of the two different Test projects, the other is fine. (0): System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'. at nCrunch.TestExecution.Frameworks.NUnit.NUnitStatic…
19 Mar 2012 11:32 UTC
-
v1.37b failing to build project that v1.26 did
Intruigingly, it looks as if 1.38.17b is lableed in the about box as 1.37b. Attempting to upgrade simply gives me repair/remove.
16 Mar 2012 14:18 UTC
-
v1.37b failing to build project that v1.26 did
After upgrading I'm now getting a build error for an older set of nUnit tests. Thought it might be nUnit related but the stack suggests otherwise. Just reply if you need more info. (0): System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'. at nC…
16 Mar 2012 14:12 UTC
-
Collapsed regions
I use Edit->Outlining->Collapse to definitions (Ctrl M-O) a lot, but the only problem is that I now collapse the coverage indicators too. Is there any chance that a summary indicator could be provided on the method definition line, indicating whether the method was called at all?
28 Feb 2012 13:30 UTC