Forum member
Taschentiger
7 posts
Posts by Taschentiger
-
Conditional expression evaluated wrong by NCrunch
Are the test and the code under test in different assemblies: yes Both assemblies are configured for "Any CPU" and are targeted to .Net 4.0. The test assembly is configured to use NUnit instead of MSTest. See the following code excerpt: [code=csharp]#if NUNIT using NUnit.Framework; using T…
14 Aug 2012 11:42 UTC
-
Conditional expression evaluated wrong by NCrunch
This will unfortunately not work out, as the tests must pass on several machines (Continuous Integrations servers), some of them might well be 32-Bit. This is not under my control. I managed to get the test to pass (see post #3). I do not have the slightest clue, why this worked and changed the b…
14 Aug 2012 09:18 UTC
-
1.41b does not install
No, I never installed manually. Before, I had installed v1.40b installed with the installer and uninstalled via the normal Uninstall dialog. It looks like the 1.40b Uninstaller did not remove the folders you mentioned. After removing them manually, I could install the new versions. Thanks for you…
14 Aug 2012 08:57 UTC
-
Conditional expression evaluated wrong by NCrunch
To be exact on this supplement: 1. Add the additional first line --> Test still fails. 2. Set a breakpoint on the Assert statement and run in debugger. 3. Verify that IntPtr.Size is indeed 8. 4. Continue with the test --> Test passes, but the Assert line is marked with a green cross??? Passed …
14 Aug 2012 08:38 UTC
-
Conditional expression evaluated wrong by NCrunch
Interesting supplement: Just adding a line of code causes this test to pass: [code=csharp] [TestMethod] public void OSIs64Bit_ReturnsCorrectResult() { int x = IntPtr.Size; // This line added for debugging Assert.AreEqual(IntPtr.Size == 8, Or…
14 Aug 2012 08:30 UTC
-
Conditional expression evaluated wrong by NCrunch
I have the following test: [code=csharp] [TestMethod] public void OSIs64Bit_ReturnsCorrectResult() { Assert.AreEqual(IntPtr.Size == 8, OracleHelpers.OSIs64Bit); } [/code] I am running on a 64-bit machine, so IntPtr.Size [h]is[/h] 8 (verified), so…
14 Aug 2012 08:23 UTC
-
1.41b does not install
I tried to install the new 1.41b version (both VS2010 and VS2012RC). Both installers detect a previously installed version of NCrunch and tell me to uninstall it first. I have done [h]excatly this[/h] before trying to install the new version... What are the installers looking for to detect a prev…
14 Aug 2012 07:51 UTC