Welcome Guest! To enable all features please Login or Register.



Can't See Tests with Nunit Category Attribute
#1 Posted : Monday, April 29, 2019 6:56:57 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/11/2014(UTC)
Posts: 60
Location: United States of America

Was thanked: 7 time(s) in 7 post(s)
I added a Category attribute like this:

Imports NUnit.Framework

Public Class Test_Planet
Public Sub Add()
End Sub
End Class

I type "NightlyBatchTestRun" in NCrunch Tests Search box.

I don't see the Add test in the NCrunch Tests window.

If I type in "Add" into the Search box NCrunch Tests window shows
NightlyBatchTestRun in the tree structure and the Add test.

I've looked at every possible related option and I can't seem to see
the Add test if I search by NightlyBatchTestRun.

I must be overlooking something.

Visual Studio 2017

Thanks, Ed
#2 Posted : Monday, April 29, 2019 9:18:34 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,722

Thanks: 744 times
Was thanked: 950 time(s) in 905 post(s)
Hi Ed,

The current implementation of NCrunch's search option is pretty limited. We've been looking at ways to expand this with some interesting syntax options but any changes here are still a long way out. Search will currently only work on test name.

To find a test with a particular category, it's better for now to just change the grouping option of the tests window so that it groups the tests by their respective categories.
Users browsing this topic
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.NET
This page was generated in 0.027 seconds.