New Package for Feature Tests

Tim Penhey tim.penhey at canonical.com
Wed Jan 14 22:22:47 UTC 2015


On 09/01/15 16:00, Ian Booth wrote:
> Thank you Katherine, it's great to see this important work come to fruition.
> 
> One area of the code in particular which will benefit from this is the CLI,
> implemented in cmd/juju. Historically, cmd/juju "unit" tests were written on top
> of a full stack (as an aside, any test suite which embeds JujuConnSuite is not a
> unit test). Recently implemented commands have tests which stub out the api
> client and are written as true unit tests. However, these are missing end-end
> integration tests.

Actually they aren't.  There is still a single execution of every
command end to end in the main cmd/juju tests.

Just an FYI

Tim



More information about the Juju-dev mailing list