[RFC] test-apis - feedback solicited

Robert Collins robertc at robertcollins.net
Thu Jan 12 05:23:30 GMT 2006


On Thu, 2006-01-12 at 15:31 +1100, Jamie Wilkinson wrote:
> This one time, at band camp, Robert Collins wrote:
> >http://people.ubuntu.com/~robertc/baz2.0/test-apis has the start of api
> >tests in bzrlib/doc/api/*.txt.
> >
> >The idea is that any .txt file in there is testable documentation for
> >users of the api - not detailed tests like our unit tests, but something
> >a user can consult for recipes, howtos etc. In a similar manner I think
> >that the tutorial could go in bzrlib/doc/ui/ as tutorial.txt once we
> >have the parser to make it interpret things like $ bzr init foo as calls
> >to run_bzr.
> 
> You say API like you mean Python API, but you say recipes and tutorial.txt
> and "bzr init foo" like you mean command line API.
> 
> Which?  Or is it both? :)

both:
bzrlib/doc/ui - command line ui documentation
bzrlib/doc/api - python api documentation

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060112/e207aa04/attachment.pgp 


More information about the bazaar mailing list