~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/testing.txt

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-05 11:53:56 UTC
  • mfrom: (5753.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20110405115356-5d6k2moisuap7bi6
(jam) Merge 2.3 into bzr.dev, resolving some conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
 
340
340
  __ http://docs.python.org/lib/module-doctest.html
341
341
 
 
342
There is an `assertDoctestExampleMatches` method in
 
343
`bzrlib.tests.TestCase` that allows you to match against doctest-style
 
344
string templates (including ``...`` to skip sections) from regular Python
 
345
tests.
 
346
 
342
347
 
343
348
Shell-like tests
344
349
----------------