Skip testcase in toml

Greetings!

Is it possible to skip certain testcases within a pyproject.toml or robot.toml file?
I use Robotcode and want to execute all testcases except for a few I want to skip.

Hello Simon,

yes, that is possible. You would have to give the skip-able test cases with tags and then refer to those tags in skip-config in robot.toml : robot.toml configuration settings | RobotCode

Probably something like this:

skip = ["flaky"]

There is also extend-skip in case you want to combine skip-configs from several profiles:

skip = ["flaky"]

[profiles.only-rest]
extend-skip = ["tcp"]   # skips flaky and tcp

[profiles.only-tcp]
extend-skip = ["http"]    # skips flaky and http

Cheers,
Markus

1 Like

Cool, thank you for your help!

1 Like