djangosnippets.org: Latest snippets tagged with 'test-runner'http://djangosnippets.org/tags/test-runner/2013-09-24T15:23:38.949323-05:00Test runner that installs 'tests' packages as apps
2013-09-24T15:23:38.949323-05:00adrian_lchttp://djangosnippets.org/snippets/2994/<p>Ever tried to unit test custom fields or abstract models? If so, you probably used a solution like <a href="http://djangosnippets.org/snippets/2843/">this one</a>. It surely works, but it has some issues:</p>
<ol>
<li>Runs 'syncdb' several times.</li>
<li>It's not automatic. You must add the mixin or copy the code to each of the TestCases. …</li></ol>
Freely redistributableDeep package test runner
2011-03-08T09:07:30.925605-06:00eternicodehttp://djangosnippets.org/snippets/2386/<p><strong>NOTE: This is modified from 1.0's test runner and has only been tested on Django 1.0 + Python 2.5</strong>
</p>
<p>This is a test runner that searches inside any app-level "tests" packages for django unit tests. Modules to be searched must have names that start with "test_" (this can be changed …</p>
Freely redistributableContinuous Integration command
2009-10-17T11:47:54.470794-05:00bertohttp://djangosnippets.org/snippets/1763/<p>This command, <code>runtester</code> will run the test suite whenever files are modified. It takes the apps to test as arguments; if no apps are given the entire test suite is run.
</p>
<p>Use this command just as <code>runserver</code> is used; fire it up in a shell and it does its thing. …</p>
Freely redistributable