Bzr development stopped

Brian de Alwis briandealwis at gmail.com
Thu Sep 13 18:55:52 UTC 2012


On 12-Sep-2012, at 11:29 AM, Toshio Kuratomi wrote:
> Writing test cases, as he points out, are one of the
>  areas with a learning curve.

FWIW: the run_bzr and run_script style of tests are really easy to set up.  And I'm a total Python n00b. For example:

    def test_tiplog_limit(self):
        tree = self.make_branch_and_tree('.')
        tree.commit('message1', rev_id='rev-id')

        self.run_script("""
$ bzr tiplog --date-format=X --limit 1 --show-ids
X tip:0 rev-id jrandom at example.com [commit] message1
""")

Neil's bzr-colo tests were handy references.

Brian.


More information about the bazaar mailing list