Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Support for property functions?
Hi, NCrunch sits on top of MSBuild, so in theory it should be able to handle almost all features of MSBuild. There have been some very niche features in MSBuild that it cannot handle - but this is due to the limitations of the MSBuild API itself, which doesn't seem to be 100% aligned with normal…
10 Apr 2015 21:27 UTC
-
NCrunch, MbUnit, NUnit
Hi Ed, This is interesting. In theory, adding a reference to a test framework should modify the project XML, which would in turn trigger NCrunch to reload the project, discover the framework reference and perform an analysis step to identify the tests. Is there any chance you can give me some…
10 Apr 2015 21:24 UTC
-
Getting NCrunch to load NUnit Addins
Hi Kjetil, See this forum post for more details - [url=http://forum.ncrunch.net/yaf_postsm7093_Can-NCrunch-be-configured-to-work-with-Concordion.aspx]http://forum.ncrunch.net/yaf_postsm7093_Can-NCrunch-be-configured-to-work-with-Concordion.aspx[/url].
10 Apr 2015 21:22 UTC
-
NCrunch, MbUnit, NUnit
Hi Ed, This use case should work correctly. I have a number of NCrunch test cases where all frameworks have a test in the same assembly. Is there any sample code you can share with me?
08 Apr 2015 21:58 UTC
-
Assemblies fail to load with The target "_SplitProjectReferencesByFileExistence" doesn't exist
Try setting the 'Log Verbosity' (global config setting) to 'Detailed', and turn on the 'Log to output window' setting. NCrunch should start dumping lots of information inside the NCrunch VS output window. This should also include details from the analysis build NCrunch is running against the proje…
08 Apr 2015 00:12 UTC
-
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