Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Test Order
Hi Ed, This is a very interesting test case, and it's an excellent example of where test ordering can be particularly useful. In similar situations, I've generally split the code between setup/teardown methods and the test methods, or implemented exception traps in stages within the test. Xun…
07 Apr 2015 22:08 UTC
-
tests failing with v2.14 (Debug.Write throws)
Hi, thanks for posting! There were no deliberate changes in v2.14 to make this throw an exception on null being written using Debug.Write, though looking at the code I think it may be possible that this is a regression in v2.14. I've noted it down to be fixed in the next release. I recommend …
07 Apr 2015 21:49 UTC
-
Assemblies fail to load with The target "_SplitProjectReferencesByFileExistence" doesn't exist
Hi, thanks for sharing this issue. The _SplitProjectReferencesByFileExistence target is part of the normal build target chain for most projects on the .NET platform. Usually when NCrunch's analysis build fails to find the target, this means that problem is with an include somewhere that has been…
07 Apr 2015 21:41 UTC
-
Build error with JustMock (commercial)
Excellent, thanks! I can understand how this is happening. I'll see if there's anything I can do about it from the NCrunch side. I appreciate you sharing the solution as I'm sure that others will also find it helpful.
07 Apr 2015 00:02 UTC
-
Build error with JustMock (commercial)
Try setting your 'Log Verbosity' (global NCrunch setting) to 'Detailed', then examine the build log against the Build Task inside the NCrunch Processing Queue. This may give you some useful information about where the build system is looking for assembly references. NCrunch won't try to copy D…
06 Apr 2015 23:13 UTC
-
Build error with JustMock (commercial)
Hi, thanks for posting. Are you able to check where the Telerik.JustMock is normally referenced within your VS build? Is it perhaps being hooked up through a Nuget package of some sort? I'm wondering if it's possible that NCrunch has somehow been unable to detect the dependency when it needs to…
06 Apr 2015 22:31 UTC
-
Test Order
Hi Ed, There's a couple of little gotchas here that are likely to trip this code up. They aren't documented anywhere but have been discovered through trial and error. NCrunch has a few compatibility holes in it's MbUnit support - largely because so few people still use this framework that they …
06 Apr 2015 22:28 UTC
-
Free but reduced SKU of nCrunch
Hi Partho, Thanks for posting! No plans exist for this right now.
03 Apr 2015 11:13 UTC
-
Unable to cast object of type 'System.Int32' to type 'System.String'
Hi, thanks for sharing this. By default, NCrunch uses assembly metadata to discover tests using MSTest. This means that it isn't actually able to execute code within the assembly (i.e. it can't run the code inside your attribute). To compensate, it scrapes the constructor parameters from Catego…
02 Apr 2015 22:27 UTC
-
xUnit V2 theory of non basic types + NCrunch = giving wrong results?
Excellent, thanks!
01 Apr 2015 21:33 UTC
-
Visual Studio 2013 Community Edition Support
Hi Ed, The last time I tested NCrunch on the community edition, it worked great. Give it a try and let me know if you experience any problems. Cheers, Remco
01 Apr 2015 21:31 UTC
-
passing tests failing
Hi Steve - Thanks for posting. This is a really, really common problem. There are a couple of things that can often cause it: 1. The tests are sequence dependent. This means that the execution order can affect their outcome. For example, when one test is run, it may change the state of s…
01 Apr 2015 11:21 UTC
-
Definition of slower execution time
Hi, This is entirely configurable. The intensity of the yellow colour progresses in a range between 0 and this setting - [url=http://www.ncrunch.net/documentation/reference_global-configuration_performance-display-sensitivity]http://www.ncrunch.net/documentation/reference_global-configuration_pe…
01 Apr 2015 07:32 UTC
-
xUnit Collection Fixtures
I've just pushed out a new version of NCrunch (v2.14.0.8) which includes re-integration with the latest version of Xunit V2. Would you be interested in giving it a try to see if it solves this problem for you? [url=http://www.ncrunch.net/download]http://www.ncrunch.net/download[/url].
01 Apr 2015 04:52 UTC
-
process has no package identity
Is this a Windows Phone application? Note that at the moment NCrunch only supports Windows Store App test environments (Windows Phone excluded) - [url=https://www.ncrunch.net/support/frameworks]https://www.ncrunch.net/support/frameworks[/url].
31 Mar 2015 23:02 UTC
-
process has no package identity
Hi AlSki, Although you're experiencing the same symptom, this is likely to be a different problem. Would you be able to submit a bug report straight after you've been hit with this error?
31 Mar 2015 22:54 UTC
-
NCrunch failing to to detect MSTest extension attribute
Hi, thanks for posting. NCrunch currently does not support the DataSourceAttribute this extension is derived from. Because NCrunch's support for MSTest is emulated rather than integrated, the only way to make this attribute work would be to painstakingly re-implement all its functionality (and q…
31 Mar 2015 21:59 UTC
-
Building C++/CLI project is very slow
Great suggestion, thanks. I completely forgot about how VS would interpret it. I hope all is well now.
31 Mar 2015 08:39 UTC
-
xUnit Collection Fixtures
Thanks, I can see this issue now. It seems to appear for me when using the framework with static analysis. Can you check whether the 'Framework utilisation type for XUnit V2+' solution-level configuration setting is set to 'DynamicAnalysis'? Also, can you confirm which versions of NCrunch and…
30 Mar 2015 23:00 UTC
-
Build Fails: Single-threaded Apartment
Hi Ed, I did think about this afterwards and wondered if the build error was related to the warnings. It doesn't make sense to me why VS would be able to build such a project without giving a similar complaint, though I'm glad you managed to find and resolve the problem. I do also recommend u…
30 Mar 2015 22:28 UTC