New Package for Feature Tests

Katherine Cox-Buday katherine.cox-buday at canonical.com
Fri Jan 9 02:03:16 UTC 2015


Hey everyone,

I just landed a PR which introduces a new package for Juju which is
intended to host long-running end-to-end feature tests. You can have a look
here: github.com/juju/juju/blob/master/featuretests/doc.go

A little context as I understand it:

   1. This is the direct result of the team's discussion about segregating
   long-running tests from short-running tests.
   2. It is the intention of the team that tests now be written thus:
      - Light-weight unit tests alongside Juju core packages.
      - End-to-end feature tests in this new package.

Hopefully this allows us to be more agile as we modify code, but still
maintain the safety-net of end-to-end tests. The main difference for me is
that the bulk of our tests -- where we test edge-cases, all permutations of
calls, etc. -- will now be in lightweight unit tests. The heavier-weight,
end-to-end tests will now be used in a 1:1 ratio with user-facing features,
and the number of these that we have to maintain should drop off a bit.

This has been a great team effort to steer a very large change; kudos to
you all!

-
Katherine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20150108/49957c38/attachment.html>


More information about the Juju-dev mailing list