1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
Commit graph

4 commits

Author SHA1 Message Date
Nick Townsend
837eaca8b1 Copy the servers yielded to on()
This allows the SSH connection attributes to be temporarily overridden
2015-02-13 17:11:26 -08:00
Nick Townsend
8a05c9cef7 Update the configuration for Vagrant 1.7+
Vagrant 1.7+ defaults to removing the insecure SSH key which causes
the cap tasks to fail. Add configuration to use old method

Requires that the Vagrant configuration syntax is updated, so also
update the box/url and network definitions

This means the latest version of Vagrant will be needed to run the
test features.
2015-02-03 11:22:18 -08:00
Bruno Sutic
5ab730d721 Use a more idiomatic apt-get install method 2014-11-17 13:47:24 +01:00
seenmyfate
e7399f4692 Integration tests with Vagrant and Cucumber
This commit removes the existing 'local' integration tests and replaces
them with Cucumber features running against VMs.  At this stage,
some of the assertions are pending due to the limited nature of the
response returned when executing commands through Vagrant, but the
framework is there as a starting point to build upon.

To run the suite:

    bundle exec cucumber

During development, avoid scraping the VM between runs:

    bundle exec cucumber KEEPING_RUNNING=1

Ultimately I would like to see the `TestApp` helpers along with the Vagrant
integration packaged and available for use when developing gems that work with
Cap. For now though, this closes #641
2013-09-27 11:45:55 +01:00