Creating Fixtures from Within Tests
Django gives you a ‘dumpdata’ target which will create a fixture from all the records in your schema. For what we wanted, this was overkill. We had an existing unit test which was creating data in one...
View ArticleStubbing a Test Mail Server
Django has built in support for sending email. We make use of this in our app, but when testing, we wanted to be able to access the emails sent so we could assert on their content, and pull data out of...
View ArticleFirst Look at Vaadin
I’ve had the chance over a recent weekend to have a first crack at a web framework called Vaadin. I was originally browsing for news about the latest release of Google’s GWT framework when I stumbled...
View ArticleOSGi Adventures, Part 1 – A Vaadin front-end to OSGi Services
Extending my recent experiments with the Vaadin framework, I decided I wanted to have a Vaadin front-end talking to a set of OSGi services on the back end. Initially, these will be running within the...
View ArticleDjango’s assertRedirects little gotcha
Something we’ve be trying to pay more attention to with our newest green field development projects is the running time of our unit test suites. One of the projects was running ~200 unit tests in 2...
View Article
More Pages to Explore .....