Forum member

abelb

155 posts

Posts by abelb

  1. Random test failure when using TestCaseSource: The parent fixture of this test experienced a failure

    A few more observations: [list] [*] I restarted Visual Studio after setting the logging verbosity, after restart, it was reset to "Summary", seems like the change in settings is not saved, and probably wasn't set even though it showed "Detailed" prior to restarting [*] The problem *only* occurs…

  2. Random test failure when using TestCaseSource: The parent fixture of this test experienced a failure

    I did as you suggested, set "Logging verbosity" under "General Settings" to "Detailed". Howver, the "NCrunch Diagnostic Output" remains empty and the output in the NCrunch Tests runner remains that one line: "The parent fixture of this test experienced a failure during test execution" At this tim…

  3. Random test failure when using TestCaseSource: The parent fixture of this test experienced a failure

    It seems like the testdata for TestCaseSource must be typed. I use F#, which uses type inference, so it oughtn't be needed. Still it does not explain why on the first run it typically works normally and subsequent runs show more and more failures.

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

    Just a minor glitch, but with big test sets it does not quite help to understand what is going on: If you have a structure like the following: TestProject ---->TestNamespace --------->TestClass --------------->Test1 --------------->Test2 --------------->Test3 --------------->Test4 And…

  5. Random test failure when using TestCaseSource: The parent fixture of this test experienced a failure

    We use TestCaseSource a lot, but it didn't give us much trouble so far. However, today I added a couple of tests that do little more than checking whether the commandline help file contains an entry for a given commandline option. All tests should succeed, however: [list][*]On first run, one o…

  6. Local vs roaming configuration of NCrunch project and solution files

    I noticed that the *.ncrunchproject and *.ncrunchsolution files contain both locally necessary information as well as sharable information. We would like to share the configuration through our Mercurial concurrent version control system, but every time someone makes a change in (locally) ignored or …

  7. NCrunch reload and rebuild does not work

    Sorry for this late reply, I was out of the country for a couple of days. However, meanwhile I tweaked the solution and the NCrunch configuration a bit further. It appears to me that the dependency on about 19,000 small files was a main cause of issues. I think that NCrunch copied all those files, p…

  8. NCrunch reload and rebuild does not work

    The good news: I think I got it running, at least somewhat. After fixing the pre-build steps and removing another step (in two linked projects there as an ILMerge step, which ran always, and I changed it to "only when certain files were updated", and after removing the "NCrunch_MySolution" directory…

  9. NCrunch reload and rebuild does not work

    In addition to the above, I checked the documentation of NCrunch here: http://www.ncrunch.net/documentation/reference_project-configuration_run-pre-or-post-build-events and found that the setting for this project has running post- and pre-build events switched off. We use a standard way of running t…

  10. NCrunch reload and rebuild does not work

    I was thinking about your proposal: exclude it from the NCrunch build, but that wouldn't help, as the auto-generated test project relies on the rest of the project. If I don't rebuild it, I don't test the changes in the project. However, the part of it that is autogenerated, is a pre-build event …

  11. NCrunch reload and rebuild does not work

    [s]Hmm, this forum has an image button, but if you use it, it does not work???[/s] [i]Fixed, needed to set the imgur image, not the imgur page in the url[/i]

  12. NCrunch reload and rebuild does not work

    Hi Remco, Thanks for getting back at me. To answer your questions: - No, we do not use absolute path references (the exception being if a toolset is typically under Program Files or something the like, in which case we use a global MSBuild macro, such as $(MSBuildExtensionsPath32). These seem …

  13. NCrunch reload and rebuild does not work

    I submitted a report, but didn't get the chance to fill in any user details and now I have no idea where I can find this bug report and/or track its status. I gave it a title something like "NCrunch halts at loading coverage data at 83%" (which is not the same as this, but possibly related). It fro…

  14. NCrunch reload and rebuild does not work

    Often, when I click Reload and Rebuild in the context menu of a project, it does nothing. The status is "Not Built" (after a failed build). Rightclick, select "Reload and rebuild selected component", then nothing happens. Other tricks, like changing the project settings, either in NCrunch settin…

  15. NCrunch does not include files that have a custom build action

    I have an FSharp project that doesn't build because it does not include referenced files from the project file. While I have found a workaround (include these files manually in the NCrunch settings), this is not a long-term solution, because that requires us to remember to add dependencies not only …