Forum member

DanHil

85 posts

Posts by DanHil

  1. Execution error in integration test using Oracle

    The code that sets the environment variable is simple: [code=csharp]Environment.SetEnvironmentVariable("PATH", @"C:\oracle\x86", EnvironmentVariableTarget.Process);[/code] After that line, there is code that accesses the database using Oracles ODP.NET. ODP.NET somehow uses this environment var…

  2. Projects won't build

    [quote=Remco;3346]As small as this warning is, I have a feeling it may end up being quite a big feature for many people.[/quote] I have the same feeling. This problem so far has cost me more time than NCrunch saved otherwise. I really hope that warning is specific in that it says which assembly i…

  3. Execution error in integration test using Oracle

    I don't know about other unit testing frameworks, but xunit has a well-defined API around attributes, see [url=http://xunit.codeplex.com/wikipage?title=Comparisons#note4]here[/url] for example. The rest of your answer looks a bit off - I don't really see how this pertains to my problem as I have …

  4. Projects won't build

    I had this problem again yesterday. It was a more tricky variation of the previous problem. The error I got from NCrunch was the same, but this time there were no references without a hint path and additionally, there were no references to a debug folder. It turned out to be the following: Ea…

  5. Execution error in integration test using Oracle

    Unfortunately, this topic is not yet resolved for me. The integration test now references a x86 third party library, so running it as a x64 bit process is no longer possible. Because of this, I downloaded an x86 Oracle instant client and wanted to make the integration tests use this. How this wi…

  6. Analysis fails

    I have an interesting problem: The anaylsis in NCrunch fails with the following error: [quote] [14:46:51.6461-AnalysisTask-62] ERROR (Analysis): A failure occurred while analysing the assembly [SnapshotComponent: GA.CoreData.IntegrationTests, 12, 37663886]: System.InvalidCastException: Specif…

  7. Test fails without error message

    I couldn't reproduce it either. Maybe it was part of the problem with the references.

  8. NCrunch + ReSharper

    Remco, I am using ReSharper and NCrunch together and I am noticing that ReSharper has a managed memory consumption - as shown in the status bar - of around 1GB. I started noticing this the last week or so, but I actually don't know if it was very different before installing NCrunch. Are you aw…

  9. MSpec Tags are ignored with custom build engine.

    Did you activate the newly created engine mode via the NCrunch -> Set engine mode menu?

  10. Projects won't build

    Thanks for all your help so far! :-)

  11. Test fails without error message

    Project output files (DLL). They were locked because the program was still running.

  12. Test fails without error message

    It is the same solution, but the test is in a different project file. I don't think it has anything to do with the xunit.dll issue. xunit.dll occurred very often, this problem occurred only as long as those files were locked. It didn't happen since.

  13. Projects won't build

    BTW: I found some references that indeed were referencing DLLs in the debug folder. At least that's what VS showed me. In the project file, these DLLs didn't have any hint path. I changed that, and it fixed the problem! Rebuilding the solution now doesn't trigger a build by NCrunch! It have been…

  14. Projects won't build

    I sent you the project files. The project that has these symptoms is GA.Exports.UnitTests. NCrunch is idle most of the time but at the end, right before the Rebuild All finished, it starts building.

  15. Exceptions appear twice

    In every. It has been like this for every single failed test since I started using NCrunch.

  16. Projects won't build

    I can't think of anything that changes the solution. Would it help, if I would send you the .sln and .csproj files? Workspace isolation shouldn't be a problem. It builds fine on the build server and on the machines of other developers. Additionally, I searched for absolute references in all proje…

  17. Projects won't build

    It looks like it happens only after I did a "Rebuild All". It doesn't happen always after a "Rebuild All", but I didn't observe it when *no* "Rebuild All" has been performed.

  18. Projects won't build

    [quote=Remco;3202] - What is your current setting for the 'Include Static References In Workspace' setting? Do any of your projects have this disabled? [/quote] No. It is enabled for all projects. [quote=Remco;3202] - How frequently does this occur? (say, in terms of # of times per hours of use…

  19. Test fails without error message

    "Include static references in workspace" is True for all projects. Absolute file references are not used. I sent you a report, maybe it helps.

  20. Exceptions appear twice

    Every failing test shows the exception twice in the tests window. Example: [quote] *** Failures *** Exception Xunit.Sdk.TrueException: Assert.True() Failure at GA.CoreData.IntegrationTests.QuantityTestStoresRepositoryTest.SavingANewItem_ShouldAddItToTheDatabase(QuantityTestStoresRepos…