On Fri, 05 Mar 2010, Joe Blaylock wrote:
> So, why are invenio.testutils.make_test_suite() and
> invenio.testutils.run_test_suite() preferred over preferred over just
> using unittest / unittest.main() ?
>
> What do I get for having to impose the extra layer?

make_test_suite/run_test_suite offer things like: the possibility to run
all the unit tests via `inveniocfg --run-unit-tests' call, the
homogeneous verbosity level setting when running the tests, the
possibility to ask for human confirmation before running dangerous tests
(``Yes, I know!''), the coding consistency with the other test suites
across Invenio.

Best regards
-- 
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to