-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add context-cleanups and fixture concept.
Context-cleanup: Use context.add_cleanup(cleanup_func) to perform cleanups at end of scenario, feature or test-run (depending on which context-layer the cleanup was added). Cleanups are performed when current context-layer is removed. Fixtures: Simplify setup/cleanup tasks for scenario, feature or test-run. A fixture basically provides a scope-guard (similar to: @contextlib.contextmanager, @pytest.fixture).
- Loading branch information
Showing
41 changed files
with
3,505 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
Project Info | ||
=============================================================================== | ||
|
||
=============== =============================================================== | ||
=============== =================================================================== | ||
Category Hyperlink | ||
=============== =============================================================== | ||
Documentation: http://pythonhosted.org/behave/ | ||
(or: http://behave.readthedocs.org/ for latest and stable) | ||
=============== =================================================================== | ||
Documentation: http://behave.readthedocs.io/ for `latest`_ and `stable`_ (`PDF`_) | ||
Download: http://pypi.python.org/pypi/behave (or: `github archive`_) | ||
Development: https://github.com/behave/behave | ||
Issue Tracker: https://github.com/behave/behave/issues | ||
Changelog: `CHANGES.rst <CHANGES.rst>`_ | ||
Newsgroup: https://groups.google.com/forum/#!forum/behave-users | ||
=============== =============================================================== | ||
=============== =================================================================== | ||
|
||
.. hint:: | ||
|
||
The PyPI version is the latest stable version. | ||
Otherwise, use the latest stable tag or the "bleeding edge" from Github. | ||
|
||
.. _latest: http://behave.readthedocs.io/en/latest/ | ||
.. _stable: http://behave.readthedocs.io/en/stable/ | ||
.. _PDF: https://media.readthedocs.org/pdf/behave/latest/behave.pdf | ||
|
||
.. _`github archive`: https://github.com/behave/behave/tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.