Javier Guerra wrote:
> reasonable-sized apps aren't too big; reasonably-factored projects
> have lots of apps
>
> but, yeah, you're right that using a 'test' directory with an empty
> __ini__.py and the tests files inside that should work...
Nope, only finds them if you have a suite() function
On Thu, Sep 17, 2009 at 11:09 AM, Chris Withers wrote:
> It strikes me that if a reasonable-sized app is fully tested, that
> tests.py is going to be unpleasantly long.
reasonable-sized apps aren't too big; reasonably-factored projects
have lots of apps
but, yeah,
On Thu, Sep 17, 2009 at 12:09 PM, Chris Withers wrote:
>
> Hi All,
>
> Will the Django testrunner really only find tests in a file called test.py?
>
>
No, it loads tests from a module named tests (note there is an s on the end
of that). That might be a single tests.py
Hi All,
Will the Django testrunner really only find tests in a file called test.py?
It strikes me that if a reasonable-sized app is fully tested, that
tests.py is going to be unpleasantly long.
How come the testrunner doesn't look for a package called tests like
most of the other python
4 matches
Mail list logo