ensuring commit has enough tests...
Martin Pool
mbp at sourcefrog.net
Tue Jun 26 03:03:21 BST 2007
On 6/26/07, Robert Collins <robertc at robertcollins.net> wrote:
> Ian expressed to me the thought that with the overhaul needed of commit,
> it would be good to expand test coverage there.
That's a good idea - also there are some old and hairy tests that
could do with a haircut.
At a higher API level we would also want to test-
* That committed changes are reported properly, including file
deletion and renames
* Invoking the message editor, if not message is given
- Commit is aborted if no message is entered
> user path selection:
> - whole tree
> - subtree that isn't modified though the subtrees before and after are.
> - subtree that is modified
> - subtree that includes renames (against basis)
> - into, lexically before and after
> - out of, lexically before and after
> - subtree that includes renames (against pending merge):
> - into, lexically before and after
> - out of, lexically before and after
also,
- giving a path that's not versioned should be an error
- but it's ok if it used to be versioned (and is now deleted)
--
Martin
More information about the bazaar
mailing list