Forum member
CoolBreeze
79 posts
Posts by CoolBreeze
-
ERROR (Build): TEST_svcHMRMgr_Library: (0): System.NotImplementedException: GenericInst
When I try to run tests in a VB class library with three of the tests using generics I get this error: [11:24:27.1537-LocalBuildTask-32] ERROR (Build): TEST_svcHMRMgr_Library: (0): System.NotImplementedException: GenericInst at _Mono.Cecil.SignatureReader.ReadPrimitiveValue(ElementType type)…
08 Aug 2019 16:06 UTC
-
Can't See Tests with Nunit Category Attribute
I added a Category attribute like this: Imports NUnit.Framework <TestFixture()> <Category("NightlyBatchTestRun")> Public Class Test_Planet <Test()> Public Sub Add() End Sub End Class I type "NightlyBatchTestRun" in NCrunch Tests Search box. I don't see the Add test in t…
29 Apr 2019 18:56 UTC
-
System.Web.HttpException : Session state can only be used when enableSessionState is set to true,
I realize this might be a long-shot trying to get an answer in this forum. But I have a little bit of hope that another NCrunch user ran into and solved this problem and can suggest a solution. I posted this question in StackoverFlow: I've reviewed all related posts on this topic in Stackove…
07 Dec 2018 21:01 UTC
-
Not Seeing Batch Category Tests in Test Windows
I have a few hundred tests. My goal is to run the tests overnight. Here's my steps; 1) Run say 3 tests during the day and confirm they are successful. 2) Add <Category("Batch")> to the successful tests. 3) At the end of my work day I'd open NCrunch Tests window. 4) Search for tests with Catego…
04 May 2018 18:55 UTC
-
Parallel Test Execution
Started new sw dev project. Added test project with Nunit, NCrunch. I created 2 tests. NCrunch Tests view showed both tests. I was able to select either test and run it. I have two modules which read data by using two different methods: 1) Linq, 2) Sql Test 2 called each of the reader metho…
06 Apr 2018 19:45 UTC
-
Signature of NCrunch_VS2017_3.9.0.1 msi is Corrupt or Invalid
When I try to download NCrunch_V2017_3.9.01 with Microsoft Edge (25.10586.672.0) the error listed in the subject line is reported by Edge. However, when I download NCrunch with Firefox the download is successful and no errors about corrupted MSI are reported. Thanks, Ed
18 Jul 2017 12:46 UTC
-
NUnit 3 and OneTimeSetUpAttribute
Hi Remco, My OneTimeSetup module is not being called. This worked about 2 weeks ago. I did upgrade to newer versions of NUnit and ASP.NET Framework in the last two weeks or so. NCrunch 3.9.01. NUnit 3.7.1 NUnit 3 Test Adapter 3.7.0 VS 2017 Community Edition One suggestion I saw to sol…
07 Jul 2017 17:08 UTC
-
Build Not Completing
re: Also, what kind of project is this? .NET Framework 4.0 VB Visual Studio 2010 (some class libraries built in Visual Studio 2017, .NET 4.0) I was able to run a test earlier in the day. But then ran into the problem described in my original post entry. Will submit bug report Wed EST mor…
12 Apr 2017 00:29 UTC
-
Build Not Completing
There's several symptoms so I'll try my best to give as clear a picture as possible: * I have a solution with 26 projects. * My current focus is trying to run a test in the main test project with hundreds of tests. * NCrunch Tests shows 4 tests. * NCrunch Tests shows blue check next to t…
11 Apr 2017 20:10 UTC
-
Long Time to Start Test
I have a very large VS solution with many projects, code files, and tests. I just added a new class to remove an XML element from an WCF XML message. I then added, of course, a test to verify the removal of the XML element. I start the test using "Debug selected test..." The "working" icon …
07 Apr 2017 17:27 UTC
-
VS = No Build Errors, NCrunch Many Build Errors
Hi Remco, I had to go through 3-4 cycles of shutting down VS and deleting the _ncrunch directory and then restarting VS and NCrunch. But eventually, NCrunch didn't list any errors and finally listed the test projects and tests in the Tests window. I did notice at one point VS showed errors whi…
04 Apr 2017 11:57 UTC
-
VS = No Build Errors, NCrunch Many Build Errors
Visual Studio reports 0 build errors. NCrunch reports build failure and lists several VS error messages. [list=1] [*]I started with a VB project [*]I moved several VB classes into a separate class library. Let's call it Planets. [*]During the move I changed the names of some of the classes,…
03 Apr 2017 21:28 UTC
-
NCrunch Runs Wrong Test(s)
Hi Remco, Thank you for the detailed explanation. I think that information on the internal working of NCrunch & NUnit helps me a lot to understand the problems I'm encountering. When I run into problems what's the best way to fix the problem? Disable and then re-enable NCrunch? Shutdown …
20 Mar 2017 12:40 UTC
-
NCrunch Runs Wrong Test(s)
Additional note: Sometimes I get: "NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error - was the execution process terminated?" I successfully ran the test several times prior to seeing above message. I disabled NCrunch, closed Tests window, reope…
16 Mar 2017 21:11 UTC
-
NCrunch Runs Wrong Test(s)
Hi Remco, I used TestCaseData.SetName as you suggested. Initially, this appeared to clear up the problems. I selected a specific test and NCrunch ran the test I selected. So things were good for awhile. But I started to encounter the same problem and other odd problems: 1) Selecting Wron…
16 Mar 2017 17:08 UTC
-
NCrunch Runs Wrong Test(s)
Hi Remco, I've been studying the SetName more deeply this afternoon by looking at some examples and I agree with you SetName appears to be the way to go. I have a test to test invalid\valid characters in a field. I created the test to login to the app once, fill in default values, and then onl…
24 Feb 2017 21:56 UTC
-
NCrunch Runs Wrong Test(s)
Hi Remco, I may have made some improvement in my situation, but I'm not 100% sure. The situation is still a little confusing. re: make sure that the name NUnit is generating for the test is unique I override ToString() on my test case data classes and format a test description based on some…
24 Feb 2017 15:35 UTC
-
NCrunch Runs Wrong Test(s)
I'm working on the theory that the mix-up is due to the same argument signature for some tests. For example: I have a base TEST_DATA_TestCase class. I create several zip code and phone number tests using that class. The test methods might look like: Public Sub Phone(TestObj As TEST_DA…
23 Feb 2017 20:12 UTC
-
NCrunch Runs Wrong Test(s)
I may have spoken too soon. I select and run a zip code test but NCrunch calls the Phone or States test method. I don't see any warnings for duplicate test descriptions. I think I fixed all of those problems. Any other ideas? Thanks, Ed
23 Feb 2017 18:16 UTC
-
NCrunch Runs Wrong Test(s)
Hi Remco, You are correct. There were multiple tests with the same name. I cleaned up the duplicate names and selected and ran a test from the Tests window and NCrunch ran the correct test. re: Can you share any details about how these tests are being generated? Are you using TestCaseSource? …
23 Feb 2017 14:44 UTC