charmrunner - automated charm testing tools
kapil.thangavelu at canonical.com
Fri Feb 17 16:24:40 UTC 2012
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.
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.
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
Code, bugs, etc.
More information about the Juju