Descriptionenvirons/cloudinit: refactor tests
In an upcoming CL, I was starting to add ever more
logic to the script tests, and a different approach seemed
like a better way.
By specifying the entire script in the tests, we
get a much better idea of what the cloudinit
scripts will look like as a whole, making it
easier to diagnose problems earlier.
The down side is we'll need to change the tests
more often, but they're easier to change, and
it seems like less smoke and mirrors.
https://code.launchpad.net/~rogpeppe/juju-core/182-cloudinit-refactor-tests/+merge/140909
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : environs/cloudinit: refactor tests #Patch Set 3 : environs/cloudinit: refactor tests #
MessagesTotal messages: 4
|