What's new? | Help | Directory | Sign in
Google
grassyknoll
GrassyKnoll: a Search Engine in Python
  
  
  
  
    
Search
for
Updated May 01, 2008 by peter.fein
UnitTests  
Tests

Unittests live at: http://code.google.com/p/grassyknoll/source/browse/trunk/grassyknoll/tests/ unittests

Tests require nose. Run tests like nosestest --with-doctest grassyknoll/ in an svn checkout.

Most tests live in grassyknoll.tests, though there are some doctests scattered throughout the source tree.

Running Tests

For the impatient: nosetests --exe --with-doctest grassyknoll

Test Notes

See open test tickets.

setuptools

If you installed with setuptools, you must run tests like nosetests --exe --with-doctest grassyknoll. See issue 10.

Fixtures

test_fixture.py will fail with various "File not found errors" unless run from a SVN checkout, see issue 74.

UUID

The doctest in grassyknoll.compat.uuid always fails. This file is backported from Python SVN. Given that new UUIDs are and should be generated on the test run, there's no way this will ever pass


Sign in to add a comment