[MERGE] Move the notes on writing tests out of HACKING into a new file, and improve them.
Robert Collins
robertc at robertcollins.net
Wed Aug 13 03:33:12 BST 2008
Splitting out little bits as I go..
On Wed, 2008-08-13 at 08:53 +1000, Andrew Bennetts wrote:
> +TestPlatformLimit
> + **(Not implemented yet)**
> + The test can't be run because of an inherent limitation of
> the
> + environment, such as not having symlinks or not supporting
> + unicode.
> +
> +UnavailableFeature
> + The test can't be run because a dependency (typically a
> Python
> + library) is not available in the test environment. These
> + are in general things that the person running the test could
> fix
> + by installing the library. It's OK if some of these occur
> when
> + an end user runs the tests or if we're specifically testing
> in a
> + limited environment, but a full test should never see them.
Uhhh, the former thing is a subset of UnavailableFeature is it not? The
specific examples given are both implemented using Features today, and I
don't see what the proposed difference is.
-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/20080813/12a13086/attachment.pgp
More information about the bazaar
mailing list