3

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

What are the steps to test it?

3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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