5 Nov
2009
5 Nov
'09
5:17 a.m.
Tim Allen wrote:
Paul Goins <general@vultaire.net> wrote:
Does "trial tests" not work? (you probably need a tests/__init__.py) Nope:
$ trial tests
-------------------------------------------------------------------------------
PASSED
Nothing executes if I run it that way. And I do have the tests/__init__.py. It's totally empty, in case it matters.
Just to be sure, your test modules are named "tests/test_foo.py", "tests/test_bar.py" and so forth?
That appears to be it. I thought it was just the function names that needed to follow the test_<foo> pattern. I don't seem to see this documented, either... Guess I'll add a comment to #2443. Thanks for the help!