diff options
author | Alfredo Deza <alfredodeza@gmail.com> | 2011-03-06 13:46:35 -0500 |
---|---|---|
committer | Alfredo Deza <alfredodeza@gmail.com> | 2011-03-06 13:46:35 -0500 |
commit | ebe72299d01454e0d0e3bacc2ff9af3c898109f0 (patch) | |
tree | 5260417d8407f9e32961ae9011425f681a1ca2f9 /docs/source/testing.rst | |
parent | 212e52c5db6b904e735ea1c7a3c6757fd23ec555 (diff) | |
download | pecan-ebe72299d01454e0d0e3bacc2ff9af3c898109f0.tar.gz |
finished app_engine documentation and started testing.rst
Diffstat (limited to 'docs/source/testing.rst')
-rw-r--r-- | docs/source/testing.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/source/testing.rst b/docs/source/testing.rst new file mode 100644 index 0000000..fc1d81d --- /dev/null +++ b/docs/source/testing.rst @@ -0,0 +1,13 @@ +.. _testing: + +Unit Testing +============= +UnitTesting in Pecan is handled by ``WebTest``. It creates a fake Pecan +application that in turn allows you to make assertions on how those requests +and responses are being handled without starting an HTTP server at all. + +Make sure you always have a separate configuration file for your tests. This +guide will assume that your test file is called ``test.py``. + + + |