Showing posts with label pyquery. Show all posts
Showing posts with label pyquery. Show all posts
Friday, 2 March 2012
BDD testdrive
I gave a try to BDD: looks really good. Fluent textual assertions. I tried out Lettuce. Fine vi syntax highlight stolen from the Cucumber project, see here: gvim syntax file for Gherkin. These are "heavy" functional tests, accessing the depolyed application. Mechanize was used to act as a browser. While I tried to write some assertions, I thought I need the power of jQuery. I asked an old friend of mine, PyQuery to help me. All the stuff was put together very quickly. Ask lettuce to create xUnit output, set up a Jenkins job, run after application deploy - I really like it.
Subscribe to:
Posts (Atom)