On 1/19/06, TML <[EMAIL PROTECTED]> wrote:
> Can you give some additional guidance on how to view and execute the
> current unit tests? I haven't been able to find any documentation on
> this. (In fact, I wasn't even aware you had chosen a unit test
> framework, thought that was still up in the air).

Nose should be easy_installed as part of the TG install. Simply go
into your TG svn checkout and type 'nosetests' at the command line.
Nosetests finds all python files and methods within those files with
the word 'test' in their name and runs them as unit tests. If you want
to run a subset of the tests, you can move down in directories (e.g.
if you're in turbogears/widgets and run nosetests you'll just be
running the widget tests) or specify a filename (nosetests
turbogers/tests/test_form_input.py).

Reply via email to