Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have written a Juju Charm and want to test it.

What are the steps to test it?

share|improve this question
up vote 3 down vote accepted

Use the command charm proof to test your charm before deployment.

for example:

charm proof <path_to_charm>

Then, to test the deployment:

juju deploy --repository <somedir> local:<charmname>

With <somedir> as the path to the directory above your charm (so if we have a charm stored in ~/code/charms/gitolite, it'd be ~/code/charms/), and <charmname> as the name of your charm.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.