Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. xUnit2 - IClassFixture ctor called twice

    Hi, This problem is by design, and it does behave exactly as you've described it. NCrunch will run tests in parallel across processes, and in some situations it can run individual tests within a fixture in parallel with each other. The mechanism used by NCrunch for parallelisation is very, ve…

  2. How does NCrunch distribute work on grid nodes when no capabilities are set?

    [quote=ysteiger;6545]Hi Remco, So, if I get it right: As long as I do not specify restrictions on tests and grid nodes, the idle nodes (idle in terms of processing Ncrunch tasks) do request work chunks from the attached clients and its relatively random, which node gets the work. [/quote] Tech…

  3. Inconsistencies

    Thanks Steve. Unfortunately it looks like the bug reporter had trouble uploading the log file. Is there any way you could save the report to disk and upload it via the [url=https://www.ncrunch.net/support/contact]contact form[/url]? Sorry for the trouble. Cheers, Remco

  4. Extremely slow build processing followed by "hanging" devenv process

    Hi, thanks for sharing this issue. There is a known threading issue in the code you've described above. This code is responsible for checking the state of Visual Studio's build engine prior to performing a build action. It's very rare that problems arise from it, but it can happen and when it d…

  5. How does NCrunch distribute work on grid nodes when no capabilities are set?

    Hi Yannik, This is quite a broad question - but I'll do my best to answer it in summary :) The protocol works via a pull from the grid nodes. They request work from the client routinely in order to fill up their own local processors. The work requests are a round robin between all connected …

  6. Project build failure

    Hi Steve, It seems as though this build step requires referenced assemblies to be copied to the build output directory prior to the step being run. Normally, NCrunch suppresses this behaviour as it needs to avoid copying referenced assemblies in order to optimise builds. Leaving this setting …

  7. Debugging Async Tests - variable "does not exist in the current context"

    Sorry. No solution has yet been found for this problem.

  8. Project build failure

    Hi Steve, Thanks for sharing this issue. I think the first thing we should try here is to put NCrunch in [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] to see if there is an option that can immediately fix this. Also, what can you tell …

  9. Inconsistencies

    Thanks Steve. Would you be able to try opening up your VS instance with the Data Tools loaded, open the tests window, then submit an NCrunch bug report? This may help me to dig up some more information about why this is behaving so strangely. Cheers, Remco

  10. Inconsistencies

    Hi Steve, Thanks for posting! The first thing I'd suggest double-checking is to make sure the toolbar filters on the Tests Window and Processing Queue Window are not set to hide items from the window. These settings are stored in the ncrunch user files that are specific to the solution, so it…

  11. xUnit2 - IClassFixture ctor called twice

    Hi, thanks for sharing this issue. This looks to be an integration problem where the way in which NCrunch invokes the Xunit framework is causing it to call IClassFixture constructors twice. There will need to be codefix to either NCrunch or Xunit in order to resolve this. I'll need some time …

  12. windows phone 8 project with Sqlite extension

    Hi Cliff, Thanks for posting and for submitting the bug report. This is a problem with the configuration inside the project you are trying to build. See [url=http://www.ncrunch.net/documentation/considerations-and-constraints_project-build-platform-and-configuration]http://www.ncrunch.net/doc…

  13. Inherited TestInitialize is being run for test method on base class

    Hi Rick, Thanks for posting! Could you confirm which version of Visual Studio / MSTest you are using for this? I've just checked the behaviour of VSTest 2013 and confirmed that the behaviour seems to match that of NCrunch. I see BaseTest2.BaseTest:SumShouldBeTwo failing and BaseTest.SumShoul…

  14. NCrunch keeps saying it is running, even though all child tests have finished

    Oh well ... Do let me know if you find a way to make it happen again.

  15. NCrunch keeps saying it is running, even though all child tests have finished

    I have a feeling this may be a new issue, with a similar symptom .. Would you be able to submit your sample solution through the [url=https://www.ncrunch.net/support/contact]contact form[/url]? I should then be able to figure out what's happening here.

  16. NCrunch keeps saying it is running, even though all child tests have finished

    Thanks Arnoud. Does this happen for you consistently using your test project? Do you still see it if you switch off the grid processing? Cheers, Remco

  17. C++ managed includes native c-library - NCrunch can not build

    Hi Marius, Great to hear that got it working for you :) At the moment there aren't any plans to introduce support for C/C++ projects. Support for this area of development would require considerable investment, so I'd need to see some evidence for high demand before I can put any priority on i…

  18. C++ managed includes native c-library - NCrunch can not build

    Hi Marius, This makes sense ... the dependency from the C++ project to the C project can't be tracked by NCrunch, as NCrunch isn't able to traverse the build dependencies between C++ projects. I think the only way you can make this work would be to pre-compile the unmanaged C library then incl…

  19. Tests with TestCaseAttribute won't be marked as failing when number of arguments are wrong

    Hi, thanks for posting! This is behaviour as designed. NUnit itself is rejecting the invalid test case and NCrunch is never made aware of it. This means that there is no way to represent the failure, as there is no test to associate it with. The markers therefore report green for the testcase …

  20. C++ managed includes native c-library - NCrunch can not build

    Hi Marius, Great to hear we're making progress. If the problem is files missing from the workspace, the solution to the C++ library is likely to be largely the same as for the other project. NCrunch needs to be aware of all the files that are to be copied to the workspace, otherwise it may miss…