Hi Guys,
I managed to get it working in
https://github.com/HonzaKral/django-haystack/tree/test_refactor
I moved all the tests to test_haystack dir. You can run them using
your favorite test runner (i just run nosetests in that directory)
that can deal with setup/teardown in packages to control setting up
environment and skipping tests when no drivers and/or running server
is running (no running solr means skipping solr, multiindex and
spatial tests for example).
I have some trouble with solr tests where they I cannot get them to
work on python 2 and there is still some dependency between the tests
so while all the tests work for me in isolation when I run them all at
once a bunch of solr tests fail. I would greatly appreciate help with
those.
outstanding issues:
* remove the tests directory after moving the utility stuff to new
location (run solr, requirements, ...)
* provide a convenient script to run the tests + python setup.py test
* document how to run the tests
* hook up CI
* move stuff around and remove as many dependencies as possible (move
multipleindex to work on whoosh & simple backend for example)
Please let me know what you think and what works for you or doesn't