Mercurial > hg > simpypi
comparison README.txt @ 78:d5c3fdceb718
flush out tests section
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 02 Mar 2012 16:23:36 -0800 |
parents | 4415ba355f25 |
children | f42df1456565 |
comparison
equal
deleted
inserted
replaced
77:4415ba355f25 | 78:d5c3fdceb718 |
---|---|
33 packages made with ``python setup.py sdist``). | 33 packages made with ``python setup.py sdist``). |
34 | 34 |
35 Running the Tests | 35 Running the Tests |
36 ----------------- | 36 ----------------- |
37 | 37 |
38 The | |
39 `tests directory <http://k0s.org/mozilla/hg/simpypi/file/tip/tests>`_ | |
40 contains | |
41 `doctests <http://docs.python.org/library/doctest.html>`_ and | |
42 the test-runner, | |
43 `test.py <http://k0s.org/mozilla/hg/simpypi/file/tip/tests/test.py>`_ . | |
44 These tests illustrate basic functionality and protect from | |
45 regressions if they are run before code is committed. | |
38 ``tests-require.txt`` contains dependencies that should be installed | 46 ``tests-require.txt`` contains dependencies that should be installed |
39 to run the tests. | 47 to run the tests. |
40 `Paste <http://pythonpaste.org/>`_ | 48 `Paste <http://pythonpaste.org/>`_ |
41 `TestApp <http://pythonpaste.org/testing-applications.html>`_ , | 49 `TestApp <http://pythonpaste.org/testing-applications.html>`_ , |
42 though this could be transitioned to | 50 though this could be transitioned to |
43 `WebTest <http://webtest.pythonpaste.org/en/latest/index.html>`_ . | 51 `WebTest <http://webtest.pythonpaste.org/en/latest/index.html>`_ . |
44 `virtualenv <http://www.virtualenv.org/>`_ | 52 `virtualenv <http://www.virtualenv.org/>`_ |
45 is used for isolating python environments. | 53 is used for isolating python environments. |
54 | |
55 To run the tests, do:: | |
56 | |
57 python test.py | |
46 | 58 |
47 TODO | 59 TODO |
48 ---- | 60 ---- |
49 | 61 |
50 While simpypi is pretty simple, just because it is only 100 lines of | 62 While simpypi is pretty simple, just because it is only 100 lines of |