Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Filtering by trait matching partial names as well as full in Test Explorer

I'm using Test Explorer to filter tests. In the search box, you can use traits to pull out tests for certan categories. For example:

Trait:"Awesome"

Will filter just the tests with the test category of "Awesome".

However, we've now, say, built tests with the category of "Awesomeness" as well.

So to get those, you do:

Trait:"Awesomeness"

However, now when you use:

"Trait:"Awesome", you now get tests with category of "Awesome" as well as "Awesomeness" as it's partially being matched - "Awesomeness".

Is there a way to specify tests with exact matching on the trait name, rather than the default partial matching?

like image 934
Mark Mayo Avatar asked Dec 15 '25 05:12

Mark Mayo


1 Answers

I think it's impossible in the current version of Text Explorer. There is one workaround that you can use in order to filter out some unwanted results:

Trait:"Awesome" -Trait:"Awesomeness"

or even

Trait:"Awesome" -Trait:"Awesomen"
like image 89
Sergii Zhevzhyk Avatar answered Dec 16 '25 21:12

Sergii Zhevzhyk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!