Amulet, tools to help with test writing
Marco Ceppi
marco.ceppi at canonical.com
Tue Jul 9 17:35:24 UTC 2013
Hello all,
I want to announce that the first version of a collection of tools I've
been working on, aptly named amulet <http://en.wikipedia.org/wiki/Amulet> (
lp:amulet <https://launchpad.net/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.
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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20130709/a27ef9a0/attachment.html>
More information about the Juju
mailing list