On Mon, Mar 14, 2011 at 14:09 +0100, Frederik Dohr wrote: > > I'm thinking about how to go about testing web services in a new > > services-oriented application framework we're working on. > > FWIW, TiddlyWeb's HTTP API is being tested using httplib2, with tests > described concisely in YAML: > https://github.com/tiddlyweb/tiddlyweb/blob/master/test/httptest.yaml > https://github.com/tiddlyweb/tiddlyweb/blob/master/test/test_web_http_api.py > https://github.com/tiddlyweb/tiddlyweb/blob/master/test/http_runner.py
interesting. Do you run all the yaml-defined tests from the setup_module? Out of curiostiy, have you looked into http://pytest.org/example/nonpython.html ? It presents an example of how to have YAML defined tests integrate into a test run (and seeing a dot for each passing test). cheers, holger > > -- F. > _______________________________________________ > py-dev mailing list > py-dev@codespeak.net > http://codespeak.net/mailman/listinfo/py-dev > _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev