Files
deb-python-gabbi/docs/source/example.rst
2015-04-20 20:21:52 +01:00

20 lines
424 B
ReStructuredText

Test Example
============
What follows is a commented example of some tests in a single
file demonstrating many of the :doc:`format` features. See
`Loader`_, below, for the Python need to integrate with a testing
harness.
.. literalinclude:: example.yaml
:language: yaml
Loader
------
To run those tests a test loader is required. That would look a
bit like this:
.. literalinclude:: example.py
:language: python