[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] fabtest
From: |
Mike Korobov |
Subject: |
[Fab-user] fabtest |
Date: |
Sat, 19 Feb 2011 15:37:30 +0500 |
Hi all,
I've recently released https://bitbucket.org/kmike/fabtest/ package.
This package is for writing tests for Fabric scripts against
VirtualBox VMs: before each test VM is rolled back to selected
snapshot.
Fabric doesn't have 'execute(fabric_command)' api so there is a custom
implementation:
https://bitbucket.org/kmike/fabtest/src/tip/fabtest/utils.py
I'm also closing ssh connections before and after each test.
Old env is copied before each test and modified env is updated with
saved values on tearDown.
Can please somebody review the code? Are there better ways to do this
kind of things? Am I missing something in the implementation?
- [Fab-user] fabtest,
Mike Korobov <=