Files
deb-python-gabbi/docs/source/runner.rst
Chris Dent 658d9b2713 Update docs to add and accomdate gabbi-run
Provided an opportunity to clarify some of the existing introductory
docs.
2015-04-15 19:03:54 +01:00

634 B

YAML Runner

If there is a running web service that needs to be tested and creating a test loader with ~gabbi.driver.build_tests is either inconvenient or overkill it is possible to run YAML test files directly from the command line with the console-script gabbi-run. It accepts YAML on stdin, generates and runs tests and outputs a summary of the results.

The provided YAML may not use custom fixtures but otherwise uses the default format. host information is either expressed directly in the YAML file or provided on the command line:

gabbi-run [host[:port]] < /my/test.yaml