[rspec-users] testing capistrano tasks

Matt Wynne matt at mattwynne.net
Tue Jan 27 04:15:54 EST 2009

Not done it, but Cucumber acceptance tests would surely be a good fit  

	Given there is a database "foo"
	When I run the script
	Then there should be a backup no more than 10 minutes old
	And the backup should restore OK
	And the restored database should contain the same records as the  
original database

On 27 Jan 2009, at 03:31, Scott Taylor wrote:

> Does anyone have any insight into testing capistrano tasks?  More  
> specifically, I'm looking to add regression tests to this package,  
> which adds database backup tasks to capistrano:
> http://github.com/smtlaissezfaire/cap_db_dump/tree/master
> Scott
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

Matt Wynne

More information about the rspec-users mailing list