On 17 Jan 16:25, Nicolas Évrard wrote:
> * Cédric Krier  [2014-01-17 16:20 +0100]:
> >On 17 Jan 16:05, Sergi Almacellas Abellana wrote:
> >>I want to run all test for the stock module. So what option may I
> >>use?
> >>
> >>run-test.py -m --doctest=scenario_stock.rst
> >
> >run-test.py -m stock
> >
> >>Same for all doctest from the stock module,
> >
> >run-test.py -m stock --no-unittest
> >
> >>and for all unittest for
> >>the stock module.
> >
> >run-test.py -m stock --no-doctest
> 
> I wonder if we should not have also a way to say that we want to run
> the tests of modules depending on a specific module. After all you
> probably want to test if you're not breaking anything else after you
> have tested that your module works as expected.

I don't think it is useful because if you want to check for side effect,
you have to run on all modules.

After that you can still run the tests for a subset of modules:

    run-test.py -m stock account sale

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpjder1bSs4l.pgp
Description: PGP signature

Reply via email to