Wednesday, 20 January 2016

Robot Framework - Running Tests in Python

There are a few ways to run tests. Via IDEs, or just command line interfaces. It's nicest to stick to the latter.

pybot --test 'foo bar' dir/to/test/suite.robot
Will run the test named 'foo bar'

pybot --include foo dir/to/test/suite.robot
Will run all tests with    [Tag]    foo

Simples, aye.

No comments:

Post a Comment

Robot Framework, Basic Setup

Plug: Robot Framework is quick to setup, easy to write tests for, and super fast to triage failures in. The last point really sets it apart...