Consider using 'fabtest' package for tests #25

Open
kmike opened this Issue Feb 16, 2011 · 1 comment

Comments

Projects
None yet
2 participants

kmike commented Feb 16, 2011

Hi all,

I've just released http://pypi.python.org/pypi/fabtest/ package. It was extracted from a test suite for a project (https://bitbucket.org/kmike/django-fab-deploy/) similar to woven. I think fabtest can be useful for woven too.

Tests for Fabric commands can be written as standard unittests and each test can be run against clean (or prepared) VirtualBox VM snapshot using this package. It can run fab commands from python (very basic support) and manage VM snapshots much like django is handling DB rollbacks during tests.

Owner

bretth commented Feb 17, 2011

Sounds good. I internally struggle between using an actual vm and using fabric's test ssh server to mock connections. The actual vm is practically a lot simpler but the ssh server is conceptually better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment