Proposal: Charm testing for 2.0

Casey Marshall casey.marshall at canonical.com
Fri Mar 18 01:23:06 UTC 2016


On Wed, Mar 16, 2016 at 7:52 PM, Marco Ceppi <marco.ceppi at canonical.com>
wrote:

> Hello everyone!
>
> This is an email I've been meaning to write for a while, and have
> rewritten a few times now. With 2.0 on the horizon and the charm ecosystem
> rapidly growing, I couldn't keep the idea to myself any longer.
>
> # tl;dr:
>
> We should stop writing Amulet tests in charms and instead only write them
> Bundles and force charms to do unit-testing (when possible) and promote
> that all charms be included in bundles in the store.
>

I'm unfamiliar with unit testing best practices in charms specifically. Are
there packages that make it easier to test a reactive charm?

Failing that, can you recommend a good example of unit testing in a modern
charm that I could follow by example?

Thanks,
Casey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160317/f44bc89e/attachment.html>


More information about the Juju mailing list