/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/testing.txt

  • Committer: mbp at sourcefrog
  • Date: 2005-04-06 03:38:35 UTC
  • Revision ID: mbp@sourcefrog.net-20050406033835-0a8142f2ed51db26f3a3681c
- Use a non-null file_id for the branch root directory.  At the moment
  this is fixed; in the future it should be stored in the directory
  and perhaps be randomized at each branch init.  It is not written
  out to the inventory at all as yet.

- Various branch code cleanups to support this.

- If an exception occurs, log traceback into .bzr.log and print a
  message saying it's there.

- New file-id-path command and more help.

- Some pychecker fixups.

- InventoryEntry constructor parameters now require an entry kind and
  a parent_id.

- Fix up cat command when reading a file from a previous revision.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
***********************
 
2
Test plan for Patchflow
 
3
***********************
 
4
 
 
5
This should be amenable to good automated testing.  Here are some
 
6
ideas.
 
7
 
 
8
* Corrupt the branch in various ways and make sure it is detected.
 
9
 
 
10
  - To start with test all cases checked by check()
 
11
 
 
12
* Commit.
 
13
 
 
14
 
 
15
I'm using doctest_ for some API tests, and it looks pretty nice.  It
 
16
adds some documentation of the pre/post-conditions of various
 
17
operations.  It also encourages creating a clean and friendly Python
 
18
API.
 
19
 
 
20
Testing through the Python API does not cover all of the external
 
21
shell interface, but it is much easier to write, because we don't need
 
22
to deal with serializing everything to/from text.
 
23
 
 
24
We may need additional tests to this.
 
25
 
 
26
 
 
27
.. _doctest: http://docs.python.org/lib/module-doctest.html
 
 
b'\\ No newline at end of file'