How to group test cases of each feature in a test plan

Viewed 23

In our project I found the test cases were duplicated appearing in each feature group. To demonstrate this problem, I created a small project.

enter image description here

Demo project https://github.com/Haibo-Zhou/TestPlanTackle

Test file structure:

AutomatedRegression -> MyXCTestBase -> XCTestCase

And all test cases are under AutomatedRegression, Feature groups A & B include the test cases, and they both have a class file for grouping use.

enter image description here

The problem is after creating a test plan for it, each feature group will include all the tests, which you could see from above screenshot. And I think the reason is that they all inherit from AutomatedRegression class.

So how could I group them properly? Because we should be able run a specific feature group in a test plan.

0 Answers
Related