Forum member
DanHil
85 posts
Posts by DanHil
-
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…
05 Dec 2012 10:11 UTC
-
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…
05 Dec 2012 09:35 UTC
-
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 …
05 Dec 2012 09:31 UTC
-
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…
05 Dec 2012 09:10 UTC
-
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…
04 Dec 2012 14:28 UTC
-
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…
03 Dec 2012 13:52 UTC
-
Test fails without error message
I couldn't reproduce it either. Maybe it was part of the problem with the references.
22 Nov 2012 20:21 UTC
-
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…
22 Nov 2012 11:13 UTC
-
MSpec Tags are ignored with custom build engine.
Did you activate the newly created engine mode via the NCrunch -> Set engine mode menu?
22 Nov 2012 07:24 UTC
-
Projects won't build
Thanks for all your help so far! :-)
21 Nov 2012 21:22 UTC
-
Test fails without error message
Project output files (DLL). They were locked because the program was still running.
21 Nov 2012 19:04 UTC
-
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.
21 Nov 2012 12:22 UTC
-
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…
21 Nov 2012 12:09 UTC
-
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.
21 Nov 2012 11:57 UTC
-
Exceptions appear twice
In every. It has been like this for every single failed test since I started using NCrunch.
20 Nov 2012 21:21 UTC
-
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…
20 Nov 2012 20:51 UTC
-
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.
20 Nov 2012 15:52 UTC
-
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…
20 Nov 2012 09:57 UTC
-
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 Nov 2012 09:53 UTC
-
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…
20 Nov 2012 09:51 UTC