charmrunner - automated charm testing tools
Robbie Williamson
robbie at ubuntu.com
Fri Feb 17 19:43:01 UTC 2012
On 02/17/2012 10:24 AM, Kapil Thangavelu wrote:
> Hi folks,
>
> After the testing discussion last week, i put together a python package for
> generating automated test plans, running them, and recording the results. It
> works by constructing a graph of the charm's dependencies and then creating a
> plan consisting of charms and their versions, and the relations to instantiate
> between the deployed services them to satisfy dependencies.
<blink>...wow.
>
> The package is built as a set of standalone tools that can accomplish various
> common practices when testing a charm (snapshot/restore environment, service
> watching, environment loading), with a front end script to drive the
> whole process. The front-end script is meant to be easy to drive from jenkins,
> by hand, or via a REST queue.
>
> There's a readme overview of the tools and downloads available at.
> http://pypi.python.org/pypi/charmrunner
>
> i've been able to deploy everything i thrown at it (mediawiki,
> openstack/nova-compute, etc). Semantic deficiencies in relation metadata have
> tripped up the tool, and i doubt its perfect. I expect it will see some
> iteration as it expands beyond minimal dependency deployment to testing what a
> charm provides.
>
> Code, bugs, etc.
> http://launchpad.net/charmrunner
This is pure awesomeness...thanks Kapil!
-Robbie
>
> cheers,
>
> Kapil
>
--
Robbie Williamson <robbie at ubuntu.com>
robbiew[irc.freenode.net]
"Don't make me angry...you wouldn't like me when I'm angry."
-Bruce Banner
More information about the Juju
mailing list