Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. xunit theory tests are not run

    For anyone interested, a fix for this issue has just been released as part of 1.37b.

  2. Liveness extended with enabled timing

    Can you give me any information about the system you're running test on? Is it x64/x86? Multi-core? Hyperthreaded?

  3. Liveness extended with enabled timing

    Hi Boris, Thanks for reporting this. I couldn't get this test to fail when running it locally, so I'm wondering if I might be able to ask some more questions about this issue.. - Is the failure pattern consistent? (i.e. run the test 5-10 times manually or while your system is under load to se…

  4. NCrunch rebuild all projects and runs all the tests when code changes

    Hi, thanks for posting! When you change your code, NCrunch will analyse the nature of the change and will rebuild the project that you changed. If the change was to any of the public interfaces of the project, then NCrunch will also build any projects that depend upon it. An exception to this i…

  5. ETA of MSTest data driven tests?

    Data Driven tests haven't been implemented yet, primarily because of the development effort involved. When the MSTest support was first introduced, I had no reliable information on how many people were actually using this feature or how heavily it was being used. The problem with data driven tes…

  6. Shortcut to jump to tests

    Sorry, the 1.36b release was focused mostly on stability and compatibility improvements, so there wasn't too much room for new features. 1.37b (being released in the coming week) however, is quite the opposite. And yes, there are shortcut keys in this one!

  7. CopyReferencedAssembliesToWorkspace

    The CopyReferencedAssembliesToWorkspace is considered to be a workaround for dealing with abnormal situations - such as custom build steps or interesting tests. Normally you shouldn't need to use it. I'd like to have a look at the NCrunch log file after it's tried to build your solution with this …

  8. Where does it host?

    Hi Dmitry - Thanks for getting back to me. If you don't mind sharing the contents of the file, the best way is to just copy/paste its contents into a private message to me here on the forum. Cheers, Remco

  9. xunit theory tests are not run

    Your welcome - I'm glad we got it working :)

  10. Files setup for deployment in TestSettings are not deployed

    NCrunch doesn't support the use of MSTest deployment resources through the testsettings file, so no files that you specify here will be copied into the testing workspace (as you've described). There are two ways you can work around this: 1. Declare the files to be copied by using the DeploymentI…

  11. xunit theory tests are not run

    Good find. This makes perfect sense now. NCrunch 1.36b has a known problem with assembly binding redirections specified in test app.config files. The logic is that NCrunch manipulates the .config file in order to place its own redirections - and existing redirections are messing it up. A fix…

  12. xunit theory tests are not run

    Thanks - I can't see anything there that would cause issues. Do theory tests work for you in an empty solution?

  13. xunit theory tests are not run

    Hi Mikkel, I've had no luck reproducing any issues around Xunit theories with v1.7 in a development environment. I'm wondering if you might be able to share the syntax you've used when declaring these tests? Also, if you create a fresh solution with a simple theory test in it, does the theory…

  14. Unit tests dont complete

    Understood. NCrunch doesn't yet have a build definition set automatically, but you can set one yourself using the $(NCrunch) environment variable in your .proj files, for example: <PropertyGroup Condition=" '$(NCrunch)' == '1' "> <DefineConstants>NCRUNCH;DEBUG;TRACE</DefineConstants> </Proper…

  15. Usage of DeploymentItem attribute

    Hi Shane, Thanks for reporting this. NCrunch does its best to emulate the deployment behaviour of MSTest, though many of the rules in this area are inconsistent and it wouldn't surprise me if there are a few gaps. You should be able to rely on the current directory being consistent with the dep…

  16. Unit tests dont complete

    This would make good sense. At the moment NCrunch doesn't support working with partially signed assemblies, though there are a number of workarounds for this. One way to solve this would be to try turning off signing of the assemblies for your NCrunch builds. You can do this by making the SignA…

  17. Test coverage in switch statements

    Hi Morrog - Thanks for reporting this. 1.37b contains some major changes around the instrumentation, in such a way that I think this issue should be resolved when it is released at the end of this month. Cheers, Remco

  18. Highlight single test coverage

    Hi Morrog - Thanks for posting with this suggestion. This feature is in the roadmap :) Cheers, Remco

  19. xunit theory tests are not run

    Thanks - I'll do some extra testing around this and will get back to you.

  20. No NCrunch menu-item in VS2010

    That's quite possible. Thanks for letting me know, I'll note it down to take a closer look. MSIs tend to be a bit of a nightmare for VS installs (they have a mind of their own).