Unit-testing hooks

Tim Van Steenburgh tim.van.steenburgh at canonical.com
Mon Jun 16 17:21:38 UTC 2014


Hi Federico,

Yes, python is preferred. The Openstack charms have great unit tests - you
might start by looking at one of those (cinder, for example).

Tim


On Sat, Jun 14, 2014 at 6:18 AM, Federico Giménez Nieto <fgimenez at coit.es>
wrote:

> Hi list, this is my first message so greetings to all.
>
> Just a quick newbie question, are there any preferred practices for
> unit-testing the charm hooks? I've seen some examples, all for python
> hooks, would it be better use python instead of shellscript in order have
> more testable code?
>
> Thanks, cheers
>
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140616/5ee5162c/attachment.html>


More information about the Juju mailing list