2010-01-03 20:27:06 +08:00
|
|
|
|
|
|
|
generate standalone test script to be distributed along with an application.
|
2010-01-13 23:00:33 +08:00
|
|
|
============================================================================
|
|
|
|
|
2010-01-03 20:27:06 +08:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:local:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
command line options
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
|
|
|
|
``--genscript=path``
|
|
|
|
create standalone py.test script at given target path.
|
|
|
|
|
|
|
|
Start improving this plugin in 30 seconds
|
|
|
|
=========================================
|
|
|
|
|
|
|
|
|
2010-07-27 03:15:15 +08:00
|
|
|
1. Download `pytest_genscript.py`_ plugin source code
|
|
|
|
2. put it somewhere as ``pytest_genscript.py`` into your import path
|
2010-01-03 20:27:06 +08:00
|
|
|
3. a subsequent ``py.test`` run will use your local version
|
|
|
|
|
2010-07-27 03:15:15 +08:00
|
|
|
Checkout customize_, other plugins_ or `get in contact`_.
|
2010-01-03 20:27:06 +08:00
|
|
|
|
|
|
|
.. include:: links.txt
|