Search Issue Tracker

Fixed

Fixed in 2.0.1-pre.18

Votes

0

Found in [Package]

1.1.24

Issue ID

DSTR-219

Regression

No

Tests in a categorized class are filtered as Uncategorized when using two TestCase attributes for the same test

Package: DS - Unity Test Framework

-

How to reproduce:
1. Open the attached project "TestCategoriesBug.zip"
2. Click Window > General > Test Runner > Play Mode
3. Select Uncategorized in the categories
4. Observe the tests displayed

Expected result: You don't see the WithClassCategory tests
Actual result: You see two uncategorized tests under WithClassCategory

Reproducible with: 1.0.0 - 1.1.24 (2018.4.34f1, 2019.4.25f1, 2020.3.7f1, 2021.1.6f1, 2021.2.0a16)

Workaround: Add a Category attribute above the outer TestCase attribute

Add comment

Log in to post comment