Quantcast
Channel: Developing Code, Connecting Industry » Unittest
Browsing all 5 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Stubbing 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 Article

Image may be NSFW.
Clik here to view.

First 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 Article

Image may be NSFW.
Clik here to view.

OSGi 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 Article

Image may be NSFW.
Clik here to view.

Django’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

Browsing all 5 articles
Browse latest View live




Latest Images