Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using 'fabtest' package for tests #25

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

Consider using 'fabtest' package for tests #25

kmike opened this issue Feb 16, 2011 · 1 comment

Comments

@kmike
Copy link

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.

@bretth
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants