robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

[ENHANCEMENT]Can robotcode run or skip testcases by tags?

Open EamAndromeda opened this issue 1 year ago • 3 comments

Is your enhancement request related to a problem? Please describe. As we know,robotframework can be executed with the '--include tag' and '--exclude tag' options.Robotcode is the best extension i ever used.However,i dont know how to run testcases by tag.Currently,im only able to run one testcase or all testcases in a robot file.Can robotcode only run the testcases with same tag in a robot file?

Describe the solution you'd like At the top of robot file,there are options to comfirm which tag to run,and run all the testcases with this tag as usual.

EamAndromeda avatar Jun 24 '24 08:06 EamAndromeda

In the Test Explorer in the test view on the left-hand side, you have an overview of all defined test cases in your project. You can filter by test cases in the filter text box at the top. If you enter a @ there, a list of all tags defined in the project is displayed, select one and confirm. If you now execute the test cases in the test explorer, only the test cases that match the filter will be executed.

image

d-biehl avatar Jun 24 '24 11:06 d-biehl

@EamAndromeda Does this meet your requirements?

d-biehl avatar Sep 10 '24 20:09 d-biehl

Nice feature! Unfortunate that we have to go for the whole @robotCode.RobotFramework:smoke rather than simple @smoke. But I guess there is nothing to be done about that from the extension side.

gohierf avatar Sep 20 '24 10:09 gohierf

I think we can close this, because this is already implemented in some way

d-biehl avatar Sep 03 '25 09:09 d-biehl