My first try would be to install CherryPy and try
--with-cherrypyliveserver instead of liveserver.
> I run Selenium manually and also use selenium.py that is inside
> project folder. Will it work fine?
Well it's not designed to be used this way; it You use external
testing library, why not just start devserver and use non-destructive
gathering methods to run selenium suite?
The way DST is designed is to be part of the testsuite and use the
ability to have clean environment for every testcase etc.
Also, server is started lazily when first HTTP test is encountered.
Almad
Yes. You can hack around by longer tests that do not require "initial"
state...but it's ugly.
> I suppose there is something I miss about running tests. I hoped DST
> will solve my problem :)
If Your tests are requiring initial state, they sound like proper testcases
and DST should help ;) However, I see no reason why they should not be part of
Your test suite.
Would You mind posting some test-case samples? It usually helps a lot ;)
Almad
Well, this is the reason why it might be a good idea to split Your suite into
unit test and integration tests.
I use to run only specific integration tests I develop and leave the whole job
to CI server.
Alternatively, during development, You might want to use test selection
plugin: http://devel.almad.net/docs/django-sane-testing/usage.html#sane-test-
selection-plugin
> Thank you very much for help! I've asked this questions in several
> places - no answers there.
No problem, hope it helped :)
Almad