Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. TestCaseSource attribute incorrectly requires TestCase attribute, not Test?

    I think what's happening is that NCrunch only considers a test to be a test if it has either a [Test] attribute or a [TestCase] attribute with parameters on the method signature. So if a test is marked with TestCaseSource and has parameters, then NCrunch thinks it can't be a [Test]. I don't th…

  2. Add support for Visual Studio 11

    Yep ... it's coming :)

  3. TestCaseSource attribute incorrectly requires TestCase attribute, not Test?

    I'm amazed that it's possible to get TestCaseSource working at all, as so far I've made no effort to support it :) Thanks for reporting this one. I'll have a look at it.

  4. NCrunch 1.33b occasionally fails to build an assembly, but provides no error information

    When NCrunch creates an application domain for running tests, it wires together assemblies from different workspaces (and different file paths) in much the same way as other test runners do when they have shadow copy enabled. 1.33b relaxed some of the rules around how these assemblies were resolved…

  5. NCrunch 1.33b occasionally fails to build an assembly, but provides no error information

    Gotcha. I have some ideas on how I can fix this now .. I think I know what's going on. Fix will be in 1.34b.

  6. Ncrunch died on me

    Good to hear :) Don't worry too much about the wider adoption issue. I'll include a fix in the 1.34b release due out for release within the next week.

  7. Ncrunch died on me

    Hi Darren, I had a look at the log file you sent through, and it looks like your rebuilt system has some interesting security configuration. NCrunch is falling over while trying to store data in C:\ProgramData. Does the account you're using have access to this area? If not, try running VS as a…

  8. NCrunch 1.33b occasionally fails to build an assembly, but provides no error information

    1.33b introduced quite a critical change in the way that assembly references are resolved - Over the last week, I've noticed a number of problems in here myself... they are admittedly particularly frustrating, though so far I've only seen them when CopyReferencedAssembliesToWorkspace is used. Do yo…

  9. Icons are showing black

    Ok - I think we've nailed this one down then. 1.33b seems to have an issue with analysing tests that inherit cross-assembly. I've implemented a fix that will be out in the next revision. Thanks for your help :)

  10. Icons are showing black

    Is the parent or grand-parent test class for your database framework residing in a different project/assembly to the derived class holding the [TestFixture] attribute? I've done some tinkering here and this does seem to cause NCrunch to not find the inherited test.

  11. References from early adopters?

    I've tweeted out a request to see if anyone is keen to help post a few references here. Hopefully we'll get some posts soon - otherwise I'm going to feel very disappointed :) I'm not sure if it counts to have a reference from the author of the tool, but a commercial project I'm working on has li…

  12. Icons are showing black

    Thanks - I just saw the report come through. Nice amount of detail :) Can you give me a bit more information about the workings of your MakeAssertions() method? Does it use any features that are specific to NUnit 2.5? As this method doesn't use a [Test] attribute, how are you currently exposin…

  13. Build runner does not support inline dynamics e.g. var myObject = blah.MethodWhichReturnsDynamic()

    Hi Alex, I've been trying today to reproduce this issue so I can properly fix it, though it seems to have mysteriously disappeared for me. I'm wondering if you have any other way to reproduce it in v1.33b? I've tried using the code you've described above and also through manipulating a few thi…

  14. Icons are showing black

    Hi Daley, The first thing that comes to mind when I see a situation like this is that there is something about your larger solution that's causing NCrunch to throw an exception. Would you be able to submit a bug report using the NCrunch menu after this happens to you? This can help me to figu…

  15. NCrunch 1.33b occasionally fails to build an assembly, but provides no error information

    I wonder if there are some characteristics to your solution that make this issue hit you particularly hard :) Is it a large solution? What is the rough specification of the system you're using? High-spec or slow-spec CPU?

  16. NCrunch Review in dotnetpro Magazine

    Hi Manuel - I saw a tweet about this one and got very excited about it. I'll be watching network traffic from Germany with great interest :) Thanks a whole lot for your support on the publicity front! Cheers, Remco

  17. unable to use configuration element with default values

    Thanks, this helps narrow things down a great deal. This result tells me that the problem is being caused by instrumentation removing some of the metadata that your tests are relying on. I'll see what I can do about implementing a fix. Sorry for the trouble.

  18. Tests in a separate solution

    I'm glad it's started working ... a little concerned about how it didn't work the first time.. The black dots identify lines that are not covered by tests. The issue you're seeing with the constructor may be because of a known problem where some IL configurations seem to prevent NCrunch from p…

  19. NCrunch 1.33b occasionally fails to build an assembly, but provides no error information

    That's definitely not right. Have you had any luck in opening up your firewall for the bug reporter? If you manage to capture something like that with the reporter, the log file will be really useful.

  20. Tests in a separate solution

    When you created the new solution, did any of the projects contain project references to other projects that aren't in the solution? This tends to cause an interesting build situation that NCrunch can't handle at the moment. Still, I'd really like to have a look at the results of the engine when t…