The Digital Agency for International Development

Entries tagged "unittest"

Unit Testing Django with Haystack and Solr

Django together with Haystack adds a powerful free-text search capability to your applications, and is widely used. This article explains how to write safe, reliable, repeatable tests for the search features, and avoid a common gotcha with indexing objects that shouldn't be indexed.

By Chris Wilson on 14 August 2013