Forum member
Albatross
10 posts
Posts by Albatross
-
NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error
I can confirm that adding the line: [NCrunch.Framework.Isolated] has solved the problem. The only issue I had was that I had to add the line in more than 4,500 files across a number of projects. Thankfully, it is now resolved and the tests run. Thank you for your help.
16 Dec 2020 16:28 UTC
-
NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error
Changing the 'Use CPU Architecture' setting does mean that the tests in the test project now run. Unfortunately that does not solve the problem I have with the production issue as there are a couple of projects that need to run as 'x86' When running with a debugger the tests all appear to run, bu…
30 Nov 2020 10:43 UTC
-
NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error
I can confirm the following: 1. It does not matter whether the project is set as x86, x64 or any CPU 2. Changing the NCrunch configuration 'Build process CPU architecture' to x86 or x64 does not make any difference 3. That the failure is related to the number of tests being run. At 4902 tests i…
29 Nov 2020 08:34 UTC
-
NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error
I have a problem similar to: https://forum.ncrunch.net/yaf_postst2260_NCrunch-does-not-honor-the-max-timeout-and-runs-tests-forever.aspx With a large complex project that has more than 68,000 tests. The tests all run individually, but when combined they fail. I tried following through post abo…
27 Nov 2020 16:50 UTC
-
Unstable Test Generation
As an update to my original post: Even though I have removed all references to TestCaseSource I occasionally get this issue. When it happens I rename the tests that fail by adding 'X' to the end of the test name and then remove the 'X' when they have passed. Doing this appears to resolve the i…
25 Feb 2020 07:49 UTC
-
The type initializer for 'ExtentPlaceholderCreator' threw an exception
To resolve the issue I have changed the app.config file used in the test project as follows: from: [code=xml]<?xml version="1.0" encoding="utf-8"?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentit…
28 Nov 2019 15:27 UTC
-
The type initializer for 'ExtentPlaceholderCreator' threw an exception
The same error is shown when running with NUnit. I have tried uninstalling the SQL Server 2012 updates that were installed on Monday, but that has not fixed the problem. My guess is that an update has caused the issue as there have been no code changes since it was last running, but how do I r…
27 Nov 2019 14:04 UTC
-
The type initializer for 'ExtentPlaceholderCreator' threw an exception
I have been using NCrunch for some time, but this morning all of my tests that access my local database are failing. The error is: OneTimeSetUp: System.TypeInitializationException : The type initializer for 'ExtentPlaceholderCreator' threw an exception. ----> System.Reflection.TargetInvocat…
26 Nov 2019 12:21 UTC
-
Unstable Test Generation
Thank you for the pointer on this. I have removed some of the places where TestCaseSource is used in tests and this appears to have solved the problem. I am not sure why the ones I changed have solved the problem, but am pleased that all appears to be running now. Thank you.
21 Feb 2019 15:52 UTC
-
Unstable Test Generation
Having installed version 3.23.0.10 I now get the following message: "NCrunch is unable to safely execute tests in this assembly because it contains unstable test generation. A previous discovery run over this assembly returned 2627 test cases, but when preparing NUnit to execute tests, there are…
20 Feb 2019 15:21 UTC