~svn/ubuntu/oneiric/subversion/ppa

« back to all changes in this revision

Viewing changes to subversion/tests/README

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-12-13 17:57:16 UTC
  • mfrom: (1.1.6 upstream) (0.1.3 etch)
  • Revision ID: james.westby@ubuntu.com-20061213175716-2ysv6z4w5dpa2r2f
Tags: 1.4.2dfsg1-2ubuntu1
* Merge with Debian unstable; remaining changes:
  - Create pot file on build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
The purpose of XFAIL tests is to confirm that a known bug still
81
81
exists. When you see such a test uneXpectedly PASS, you've probably
82
82
fixed the bug it tests for, even if that wasn't your intention. :-)
 
83
XFAIL is not to be used as a way of testing a deliberately invalid
 
84
operation that is expected to fail when Subversion is working
 
85
correctly, nor as a place-holder for a test that is not yet written.
83
86
 
84
87
Each test function conforms to the svn_test_driver_t prototype:
85
88
 
109
112
"black box".
110
113
 
111
114
To write python tests, please look at the README file inside the
112
 
clients/cmdline/ subdirectory.
 
115
cmdline/ subdirectory.
113
116
 
114
117
 
115
118
When to write new tests
178
181
What's here
179
182
-----------
180
183
 
181
 
   * svn_tests_main.c 
 
184
   * svn_test_main.c
182
185
     [shared library "libsvn_tests_main"]
183
186
     A standardized main() function to drive tests.  Link this into
184
187
     your automated test-programs.
185
188
 
186
 
   * svn_tests_editor.c
 
189
   * svn_test_editor.c
187
190
     [shared library "libsvn_tests_editor"]
188
191
     An editor for testing drivers of svn_delta_edit_fns_t.  This
189
192
     editor's functions simply print information to stdout.
190
193
 
191
 
   * xml/
192
 
    A subdirectory containing various <delta-pkg> XML files.  If one
193
 
    of these testing trees isn't what you need, create a new one and
194
 
    put it with the others.
195
 
 
196
 
   * clients/cmdline/
 
194
   * cmdline/
197
195
     A collection of python scripts to test the command-line client.
198
 
   
 
196
 
199
197
 
200
198
`make check`
201
199
------------
219
217
Testing Over DAV
220
218
----------------
221
219
 
222
 
Please see subversion/tests/clients/cmdline/README for how to run the
 
220
Please see subversion/tests/cmdline/README for how to run the
223
221
command-line client test suite against a remote repository.
224
222
 
225
223
Conclusion