Faitout, 1000 sessions
Since then I have been using it to tests most if not all the project I work on. I basically use the following set-up:
DB_PATH = 'sqlite:///:memory:' FAITOUT_URL = 'http://18.104.22.168/faitout/' try: import requests req = requests.get('%s/new' % FAITOUT_URL) if req.status_code == 200: DB_PATH = req.text print 'Using faitout at: %s' % DB_PATH except: pass
This way, if I have network, the tests are run with faitout and thus against a real postgresql database while if I do not have network, they run against a sqlite in memory database.
This set-up allows me to work offline and still be easily able to run all the unit-tests as I change the code.
What the point of this blog was actually more to announce the fact that despite it's limited spread (only 25 different IP addresses have requested sessions), the tool is used and it has already reached the 1,000 sessions created (and dropped) in less than a year.
If you're not using it, I am inviting you to have a look at it, I find it marvelous in combination with Jenkins and it does help finding bugs in your code.
If you are using it, congrats and keep up the good work!!