amulet icon indicating copy to clipboard operation
amulet copied to clipboard

change 00-setup.sh to a just setup.sh or something that can be run

Open mitechie opened this issue 12 years ago • 1 comments

Since 00-setup runs and then it tears the environment down, instead amulet should provide a

amulet.setup()

that looks for a setup.sh file or something and then then runs the scripts so that you can include it in each test run.

It might also be cool to have teardown, but only if we get to where we can run tests on the same bootstrap setup.

mitechie avatar Jan 24 '14 19:01 mitechie

So, teardown and "setup" (bootstrapping, etc) are handled by the juju-test plugin. There's an option in juju test to archive the environment on teardown (-o). Amulet's just designed to make standing up and testing an environment easier it was purposefully decoupled (amulet, and juju-test) due to decisions early in the projects life

marcoceppi avatar Jan 24 '14 22:01 marcoceppi