Rank: Advanced Member
Groups: Registered
Joined: 7/11/2014(UTC) Posts: 79 Location: United States of America
Was thanked: 9 time(s) in 9 post(s)
|
My test has 183 tests cases. Each test calls a function which calls SQL query with two parameters. The SQL query looks up records based on the two input parameters and returns 0 or more records.
NCrunch runs usually about 8 of the 183 tests and then stops.
The 8 tests are successful with green check marks on the left-side of the test case row in NCrunch Tests window.
NCrunch show blue question mark, up arrow and upside down exclamation mark for the remaining test case rows. NCrunch shows under status column for the un-executed tests "pending; prioritized; impacted" NCrunch show blue N icon in lower right-hand corner of VS. When I mouse over it show message "NCrunch engine is idle".
I ran the test several times with the same results. Usually about 8 tests completed with the remaining pending.
I don't see any other error messages.
I thought the test might be timing out. I put two Timeout attributes on the test:
<NCrunch.Framework.Timeout(1000 * 60 * 30)> <Timeout(1000 * 60 * 30)>
I put the NCrunch TimeoutAttribute in my test project (hopefully translated from C# to VB correctly):
Public Class TimeoutAttribute Inherits System.Attribute
Private _properties As IDictionary
Public Sub New(timeout As Integer) _properties = New Hashtable() _properties("Timeout") = timeout End Sub
Public ReadOnly Property Properties As IDictionary Get Return _properties End Get End Property
End Class
The test cases are generated using a factory function.
I created unique names for these test cases using a base class like this:
Public Class TEST_LIB_Base Private m_Description As String = ""
Public Sub New(Description As String) m_Description = Description End Sub
Public Overrides Function ToString() As String Return m_Description
End Function End Class
The only error I see in the NCrunch tests Windows is:
"This project contains multiple NUnit tests that share the same name."
That error is referring another\different set of test cases not related to the test cases I'm talking about above.
NCrunch 2.19.04
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,000
Thanks: 932 times Was thanked: 1259 time(s) in 1172 post(s)
|
Hi, thanks for sharing this issue.
When it appears, could you check the contents of the processing queue? I'm wondering if there are any pending test tasks still in the queue, or whether it's been cleared somehow.
v2.19 does have some known issues around certain change patterns clearing out the queue and hanging the engine. It might be worth upgrading to v2.20 to see if this solves the problem.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
YAF |
YAF © 2003-2011, Yet Another Forum.NETThis page was generated in 0.031 seconds.