Duncan Booth <[EMAIL PROTECTED]> writes:
> Create a function named test_suite which creates a test suite
> containing all your tests including the doctests. Pass that to main
> as the defaultTest argument.
Better to name it ‘suite’, so that its name doesn't match the default
search for individual
On 14 Oct, 16:09, Duncan Booth <[EMAIL PROTECTED]> wrote:
> Create a function named test_suite which creates a test suite containing
> all your tests including the doctests. Pass that to main as the defaultTest
> argument.
Ah, thanks. I see now - a suite is itself a test. That makes sense.
But ho
Paul Moore <[EMAIL PROTECTED]> wrote:
> Just before I start diving into the gory details, have I missed a
> simple way of adding an additional doctest.DocFileSuite to
> unittest.main?
Create a function named test_suite which creates a test suite containing
all your tests including the doctests.