jantman / vagrant-r10k

UNSUPPORTED - SEEKING MAINTAINER - Vagrant middleware plugin to retrieve puppet modules using r10k.
MIT License
35 stars 12 forks source link

Integration/functional tests #12

Closed jantman closed 9 years ago

jantman commented 9 years ago

Look into whether there's any established work to do integration/functional tests of vagrant plugins. If so, start doing that, and also start running tests against multiple Vagrant versions.

jantman commented 9 years ago

vagrant-spec acceptance tests

How would I do this? testing all providers sounds pretty crazy, but germane to #7 and #8, which seem to be provider-specific issues. But how do I test them without functional providers for all of them?

Is there a dummy provider to start with, and come back to those other issues separately? I also don't think there's a terribly clear way to ensure that r10k only runs once, short of capturing the debug log output and inspecting it.

Plugins that appear to have acceptance tests:

I posted to the Google Group asking for advice on this: Advice on testing plugins?

jantman commented 9 years ago

Remaining code paths that might benefit from tests:

jantman commented 9 years ago

see https://github.com/mitchellh/vagrant-spec/issues/2

jantman commented 9 years ago

Current WIP for this is in issues/12final_vmware; all other issues/12* branches can be disregarded.

jantman commented 9 years ago

Opened #20 to handle VMWare Workstation. Let's merge the Virtualbox stuff and get that out, and start working on other real issues.

jantman commented 9 years ago

Remaining code paths that might benefit from tests: