Monotone-Parent: bf454793ad4c1b0ba7adc73c55406eff71a6d0ea
Monotone-Revision: b070885499a027320411ad988498b953d9e1a7fc Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-08-07T17:42:42 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
ae7fa18c8d
commit
5915e345ce
10
Tests/README
10
Tests/README
|
@ -11,8 +11,8 @@ runnable scripts
|
|||
----------------
|
||||
|
||||
all.py - run all scripts below at once
|
||||
webdavsync.py
|
||||
davacl.py
|
||||
test-webdavsync.py - explicit
|
||||
test-davacl.py - dav acl tests for calendar and addressbook modules
|
||||
|
||||
other scripts
|
||||
-------------
|
||||
|
@ -28,7 +28,7 @@ is to replace "def test" with "def xtest" and replace it back when the
|
|||
problems are solved.
|
||||
|
||||
- Test failures start with "FAIL:". Those are the ones that indicate possible
|
||||
bugs in the application, if the test is well written.
|
||||
bugs in the application, if the test is itself known to work.
|
||||
For example like this:
|
||||
|
||||
======================================================================
|
||||
|
@ -49,7 +49,7 @@ AssertionError: event creation/modification: expected status code '403' (receive
|
|||
code itself.
|
||||
|
||||
- Always set a doc string on the test methods, especially for complex test
|
||||
cases
|
||||
cases.
|
||||
|
||||
- When writing tests, be aware that contrary to unit tests, functional tests
|
||||
often imply a logical order between the different steps
|
||||
often imply a logical order between the different steps.
|
||||
|
|
Loading…
Reference in New Issue