Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. 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…

  2. 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 …

  3. 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…

  4. 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.

  5. 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…

  6. 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…

  7. 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 …

  8. Free but reduced SKU of nCrunch

    Hi Partho, Thanks for posting! No plans exist for this right now.

  9. 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…

  10. xUnit V2 theory of non basic types + NCrunch = giving wrong results?

    Excellent, thanks!

  11. 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

  12. 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…

  13. 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…

  14. 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].

  15. 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].

  16. 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?

  17. 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…

  18. 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.

  19. 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…

  20. 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…