Amulet, tools to help with test writing

Antonio Rosales antonio.rosales at canonical.com
Tue Jul 9 21:16:30 UTC 2013


On Tue, Jul 9, 2013 at 12:35 PM, Marco Ceppi <marco.ceppi at canonical.com> wrote:
> Hello all,
>
> I want to announce that the first version of a collection of tools I've been
> working on, aptly named amulet (lp:amulet), is available for testing. While
> the first release is small, only including one core function, I hope to grow
> the library of tools over the coming weeks based on feedback from charmers
> writing tests. The goal of this project is to become "charm-helpers for
> testing", where charm-helpers are used during charm execution, these are
> used during testing to streamline and simplify test writing.

Thanks for this work, and getting a version out for folks to start
trying out and committing to.

>
> Each tool, while written in Python3, must have a method to provide access to
> it via a programmable api, "bash" interface, in order to make sure it fits
> in to every possible testing scheme. The goal of the library is not to force
> users to chose one language or method of testing over another but to
> simplify complicated tasks associated with testing.
>
> I hope to have weekly updates to the tool set, now available in
> ppa:juju/pkgs, the current command available is a port of the jitsu watch
> command which can be used as follows
>
> - Python: http://paste.ubuntu.com/5859008/
> - All others (shell): http://paste.ubuntu.com/5859020/
>   - Nothing is printed from the wait command, it simply exits status 0 OK, 1
> Error, 124 Timeout

Thanks for the examples. Would the readme be an appropriate place for
house example usage? I find it helpful to have a central example place
for reference. I have a branch out[0]  that adds this to the README if
you think that is appropriate, or please feel free to point my to
another locations for "docs/examples."

>
> In the near future I plan on landing code for streamlining juju-deployer
> integration with charm testing, adding methods to inspect a deployed
> environment deeper (sentry), and any other feedback from you and the
> charmers at large with regards to way we can make testing easier!
>
> Let me know if you have any questions, marcoceppi - #juju on freenode, this
> email, or https://bugs.launchpad.net/amulet
>
> Thanks,
> Marco Ceppi
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>

[0] lp:~a.rosales/amulet/amulet

-Thanks,
Antonio



More information about the Juju mailing list