And what about that nice async commit?
Regards
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
Folks, gone are the days of running the tests with python setup.py nosetests. In this age, we turn ourselves back to the traditional, tried-and-proven procedures. In this age, we execute our tests by running make test.
I've added a couple of integration tests that actually hit an HTTP server, get a response, and make assertions on it. In order to make them runnable and passable without previous setup or an internet connection, I've added a ridiculously simple HTTP server that can be used for tests like these. For the server must, of course, be running during the execution of the tests, it should be started before the execution starts and stopped when it's finished. But have no fear: the test rule on the Makefile will take care of everything for you.
Pedro
I'd like to avoid an extra dependency on Flask as long as the simple HTTP server proves itself sufficient.
I'll take a look at should-dsl and specloud. They seem to be interesting. Thanks for the suggestions.
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
I'm working on it. :)
Ok, not really working on it now as I'm refactoring the tests. But I'll target the lack of documentation next.
Regards
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
Althought it wasnt the way I expected, in the end the + were better
than the -... so, let it be the way Pedro implemented it!
Regards
Guilherme Silveira
Caelum | Ensino e Inovação
http://www.caelum.com.br/
Go ahead!
--
“Success is having to worry about every damn thing in the world,
except money.” - Johnny Cash
-
http://abstractj.com
http://github.com/abstractj
-
Volenti Nihil Difficile