justinclayton/pinocchio

Don't (always) destroy VM on test failure

Closed this issue · 2 comments

Troubleshooting your test failures after your test environment has already been destroyed is less than optimal.

Instead of setting something like destroy_vm_on_fail = false, here are some ideas of more concise config options to add:

Pinocchio.config do |config|
  config.gui = :on_fail
  config.gui = :always
  config.ssh = :on_fail
  config.ssh = :always
end