Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Static initialization code isn't considered covered
Hi Strilanc - Generally when people observe issues like this, the cause often comes from misalignment between the perceived code coverage and the way in which NCrunch actually collects it. I'm busy updating the NCrunch documentation at the moment with a mention about why this sort of thing can h…
11 Nov 2012 20:07 UTC
-
Getting build errors after a delay - project builds and runs fine
Hi Jay, Use Build Configuration does allow you to inject a custom $(Configuration) property into the NCrunch build, but there is a better way for your to introduce conditional build logic when using NCrunch. Try the $(NCrunch) environment variable. For example: Condition="'$(NCrunch)' == '1'…
09 Nov 2012 20:57 UTC
-
Simple developer API
Hi George - Thanks for supporting NCrunch! Your suggestion fits nicely in alignment with the long term plan for NCrunch. You're absolutely right in that this will be a really hard one to solve properly, but as the infrastructure progresses I feel that there will be opportunities to add somethin…
09 Nov 2012 06:27 UTC
-
Getting NCrunch to load NUnit Addins
Understood. If you have a history of tests being written this way, I can see how the lack of plugin support would be a problem for you. I could suggest a few things that may help with porting these tests over to a structure that doesn't require the plugin, though I have a feeling that you would …
08 Nov 2012 21:08 UTC
-
NCrunch won't run tests although "Run all tests automatically" is checked
Hi, thanks for posting! Can you share any more details about the behaviour you're seeing? This sounds like it may be an internal problem of some kind. I'm particularly interested in: - Does this problem occur consistently or intermittently? - If intermittently, how often? - What kind of in…
08 Nov 2012 20:50 UTC
-
Getting NCrunch to load NUnit Addins
Hi Xerxes - Right now NCrunch doesn't support NUnit addins, as they require additional steps to be taken during the initialisation of the test environment in order to function. Can you share any details about the BDD framework you're using? Perhaps I can suggest an alternative approach. …
08 Nov 2012 03:48 UTC
-
Getting build errors after a delay - project builds and runs fine
Hi Jason - NCrunch deliberately disables Nuget package restore as part of its own build process, as this feature introduces serious performance problems within NCrunch. Essentially, Nuget package restore involves the build process reaching out to the Nuget server and downloading any missing pa…
07 Nov 2012 20:42 UTC
-
Debug namespace problem
Hi, This is a problem caused by the PDB manipulation performed by NCrunch. It's been around for a while, but it's a very tough one to fix. Because the V1 builds need to be as stable as possible, I can't risk further changes in this area until the V2 release. Sorry, I know it's annoying. C…
06 Nov 2012 21:44 UTC
-
Optional argument causes build error when PCL does not target Silverlight
For anyone experiencing this problem, a potential workaround is to turn off the 'Instrument Output Assembly' setting for the project failing to build. Although this will turn off code coverage for the project, it should allow other depending projects in your solution to build and be processed norma…
06 Nov 2012 21:06 UTC
-
Disable nCrunch whilst nuGet is updating...
Thanks Ollie. I'm afraid that source control integration in this particular instance is probably not something that I'm able to commit to. The level of integration needed to make this work would likely require significant effort. I'll make a note on the backlog to take a look, but I think it's a …
06 Nov 2012 10:48 UTC
-
Disable nCrunch whilst nuGet is updating...
The challenging thing about source control is that many source control systems are external to the Visual Studio IDE, which makes it difficult to establish when they are performing the update. Which source control system are you using? Cheers, Remco
06 Nov 2012 09:40 UTC
-
Optional argument causes build error when PCL does not target Silverlight
Hi Yang, Thanks for reporting this problem - it looks to be very similar to a resolution issue that was fixed in 1.42, which suggests there is more to this issue than first thought. I'll see if I can arrange a fix for it in the next minor revision. Cheers, Remco
06 Nov 2012 09:32 UTC
-
Browse to workspace as a minor change
Absolutely. All decimal releases are minor and do not require a new license. The release date of 1.43 is variable at the moment, although I'm aiming to have the build ready about 3-4 weeks from now.
06 Nov 2012 09:31 UTC
-
Nested project imports not copied to NCrunch workspace?
Hi David, Thanks for posting! This is a known issue for which so far no reliable solution has been found. You can work around the problem by using the 'Additional files to include' setting to include the build files that are required by the included import. Thanks for sharing the reproduct…
06 Nov 2012 02:49 UTC
-
Disable nCrunch whilst nuGet is updating...
Hi Ollie, Thanks for the suggestion! I'm not sure yet whether there are any hooks in the Nuget code that I can use to identify this scenario, but I'll certainly take a look. Cheers, Remco
05 Nov 2012 21:05 UTC
-
Browse to workspace as a minor change
Great to hear! I have a backlog task planned for the 1.43 release that will involve adding a new environment variable to the NCrunch build process that points back to the original solution location - I think this is what you're asking for. I'd be very interested to hear how you've found this new f…
05 Nov 2012 21:04 UTC
-
Browse to workspace as a minor change
I have an idea that may make this easier .. I'm wondering if you're keen to give it a try. If it works well for you, I may introduce it as a packaged feature. The NCrunch workspaces aren't really designed with the intention of executing applications directly. Because they always end up in diffe…
04 Nov 2012 22:24 UTC
-
Project won't build
Hi, thanks for sharing this issue. I find it a bit strange that this problem surfaced only in the NCrunch build and not in the Visual Studio one. Is the CodeAnalysisRuleSet option perhaps specified in a platform/configuration-specific section of the project file? I'm glad you've managed to solv…
03 Nov 2012 00:23 UTC
-
Roadmap
Hi, thanks for posting! A roadmap is coming together for V2 of NCrunch, although I'd prefer not to make hard commitments around what will be in this release until it's actually near delivery (with the exception of the [url=http://www.ncrunch.net/support/frameworks]compatibility improvements alrea…
03 Nov 2012 00:21 UTC
-
Browse to workspace as a minor change
Hi, thanks for the suggestion! Although adding a toolbar option is a fairly low risk/effort task, I'd first like to learn a bit more about the use case you're following to see if I can offer you something better. Are you using the NCrunch workspaces to run an application that has been built by…
03 Nov 2012 00:14 UTC