~crunch.io/ubuntu/precise/codespeak-lib/unstable

« back to all changes in this revision

Viewing changes to doc/test/plugin/pastebin.txt

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2010-08-01 16:24:01 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100801162401-g37v49d1p148alpm
Tags: 1.3.3-1
* New upstream release.
* Bump Standards-Version to 3.9.1.
* Fix typo in py.test manpage.
* Prefer Breaks: over Conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
**Creating a URL for each test failure**::
13
13
 
14
 
    py.test --pastebin=failed 
 
14
    py.test --pastebin=failed
15
15
 
16
16
This will submit test run information to a remote Paste service and
17
17
provide a URL for each failure.  You may select tests as usual or add
18
 
for example ``-x`` if you only want to send one particular failure. 
 
18
for example ``-x`` if you only want to send one particular failure.
19
19
 
20
20
**Creating a URL for a whole test session log**::
21
21
 
22
 
    py.test --pastebin=all 
 
22
    py.test --pastebin=all
23
23
 
24
24
Currently only pasting to the http://paste.pocoo.org service is implemented.
25
25
 
34
34
=========================================
35
35
 
36
36
 
37
 
1. Download `pytest_pastebin.py`_ plugin source code 
38
 
2. put it somewhere as ``pytest_pastebin.py`` into your import path 
 
37
1. Download `pytest_pastebin.py`_ plugin source code
 
38
2. put it somewhere as ``pytest_pastebin.py`` into your import path
39
39
3. a subsequent ``py.test`` run will use your local version
40
40
 
41
 
Checkout customize_, other plugins_ or `get in contact`_. 
 
41
Checkout customize_, other plugins_ or `get in contact`_.
42
42
 
43
43
.. include:: links.txt