Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. 'System.Linq.IQueryable' does not contain definition for 'Where'

    Hi, thanks for sharing this issue. Can you provide some more information about the workings of the 'Include' method? Is this a custom built extension returning an IQueryable, or a tool from a 3rd party framework? Cheers, Remco

  2. MSpec issues

    Hi, thanks for sharing this issue! This is because the 'Establish context' assignment is a declaration that is executed prior to the test being run, so it's still code, but it isn't executed as part of the test. NCrunch has a workaround implemented for the MSpec test methods themselves to preven…

  3. Selenium Browser Drivers

    Many of NCrunch's features derive from it's ability to separate projects from their parent solution and shadow them inside workspaces. The idea behind this is that while it is in the workspace, the project relies only on files that exist within the workspace. This is to prevent the concurrently ru…

  4. Tests queued, engine idle with v1.47

    Hi John - Thanks for sharing this issue and for submitting the bug report. The report didn't show any obvious problems, so I think this might be a configuration issue. Please check the following: - Make sure the engine mode you have selected will allow the tests to be run. It's worth doub…

  5. Selenium Browser Drivers

    Hi Steve, thanks for posting! The first thing I would check very thoroughly here is to make sure that the IEDriverServer.exe file is in the same directory as Selenium is expecting to find it. NCrunch's workspacing can create an obscure situation where the bin\debug directory of your test project…

  6. Large number of threads

    Hi! Thanks for sharing this issue. It is not normal for this process to guzzle threads, although this is the same process that is used to execute your test code, so if you have a test (or series of tests) that create suspended threads, then this is certainly possible. Try connecting to the proce…

  7. Silverlight 5 and VS2013 RC

    Thanks for submitting the report. I've managed to reproduce this issue. The root of the problem is an toolset incompatibility between v12 and v4 of MSBuild (v12 was newly introduced in VS2013). MSBuild works around this issue through binding redirections that force the Silverlight build tasks t…

  8. Specific red/green markers when a test is selected

    Hi, thanks for this suggestion! The focus right now is on moving towards greatly increasing the visibility and accessibility of the 'Advanced->Show coverage for selected test only', as it seems this is very frequently used. There is also the likelihood that future features will be attached to it…

  9. Silverlight 5 and VS2013 RC

    Hi, Thanks for sharing this issue. The problem you've described is an error NCrunch gives when the behaviour of the underlying build process is not as expected. NCrunch is then unable to identify the location of the assembly output from the build. Is there any chance you could submit a bug…

  10. Add expected test duration as engine mode criteria

    There will certainly be situations where such a filter would give inconsistent results. Another case could be tests where the engine is not yet aware of their normal execution time (i.e. they've never been run before). I'd expect whoever uses this to be very broad in how they apply it. For exam…

  11. Add expected test duration as engine mode criteria

    Hi Kaleb - Thanks for the suggestion! This feature is currently pending in the upcoming V2 release. Cheers, Remco

  12. Static initialization code isn't considered covered

    This would be happening because the static members are being initialised during the test discovery step, which happens before any tests begin executing. You're correct in your understanding that NCrunch will re-use the dynamic analysis processes for test execution. If you set the 'Framework utilis…

  13. "Pin" items in metrics window.

    Thanks for the suggestion! It doesn't look like features in this area will be in V2.. The scope of V2 is already very big in different areas, and with many compatibility and integration upgrades. We'll see how things go in future releases.

  14. Getting NCrunch to load NUnit Addins

    For anyone interested in getting AutoFixture.NUnit2 working with NCrunch, Gert Jansen (gertjvr) has [url=http://gertjvr.wordpress.com/2013/10/02/howto-get-autofixture-nunit2-working-with-ncrunch/]published a way to do this[/url] by inheriting the addin into the test project. Thanks Gert!

  15. Negative priorities in processing queue?

    This is absolutely by design. Priorities can fall well into the negatives for long running tests that haven't been impacted or marked for execution by user. This is done by the engine to prevent long running tests from chewing up resources when more important work can be done.

  16. Ignore tests using attributes

    Yes, this is the intended behaviour. A test ignored by the engine mode is still considered to be a test that could be run under different circumstances (i.e. manually). It may well be that if you want the tests to be gone and never looked at by NCrunch, using the [url=http://www.ncrunch.net/docume…

  17. Set Parallel Execution option at test project level

    Hi Mark - The solution-level parallel execution option is basically just a shortcut for using attributes at fixture or project level. If you have a project containing tests that can't be run in parallel with each other (i.e. an integration test project), the easiest option is to place an [url=…

  18. Feature request - triggering SpecFlow test runs

    Hi Dan, Great to hear from you! There's been several requests for the ability to specify a wildcard for project files that don't trigger NCrunch's build and test logic. I don't see why this same feature couldn't be used for .feature files. Delivery date is uncertain but I'll see what I can d…

  19. NCrunch doesn't run xUnit.net 1.9.2 tests

    This makes really good sense now. So Nuget is adding the binding redirections in order to ensure that you're using the right version of xUnit when you run tests. NCrunch adds its own binding redirection to the .config file too, so the CLR must be randomly choosing which redirection to use at run t…

  20. NCrunch doesn't run xUnit.net 1.9.2 tests

    Hi, thanks for sharing this issue, and for taking the time to put together so much information about it. As you've perhaps speculated by looking through the plugin config files, NCrunch's integration with xUnit (via Gallio) works by using assembly binding redirections. This means that if NCrunch…