On 17 Jan 15:54, Sergi Almacellas Abellana wrote:
> El 17/01/14 15:33, Cédric Krier ha escrit:
> >On 17 Jan 15:24, Sergi Almacellas Abellana wrote:
> >>>El 17/01/14 15:11, Cédric Krier ha escrit:
> >>>> >On 17 Jan 14:10, Sergi Almacellas Abellana wrote:
> >>>>>> >>>El 14/01/14 19:07, Cédric Krier ha escrit:
> >>>>>>>> >>>> >On 14 Jan 16:02, Guillem Barba Domingo wrote:
> >>>>>>>> >>>> >My proposal:
> >>>>>>>> >>>> >
> >>>>>>>> >>>> >     Usage: run-tests.py [options] [test] [...]
> >>>>>>>> >>>> >     Options:
> >>>>>>>> >>>> >       -h, --help            show this help message and exit
> >>>>>>>> >>>> >       -c CONFIG, --config=CONFIG
> >>>>>>>> >>>> >                             specify config file
> >>>>>>>> >>>> >       -m, --modules         Run also modules tests
> >>>>>>>> >>>> >       -v                    Increase verbosity
> >>>>>>>> >>>> >       --no-unittest         Don't run unittest
> >>>>>>>> >>>> >       --no-doctest          Don't run doctest
> >>>>>>>> >>>> >       --doctest=NAME        specify the name of doctest to run
> >>>>>>>> >>>> >                             (if not set all doctest ar run)
> >>>>>> >>>I miss include/exclude module_list (or regexp) to execute only the
> >>>>>> >>>test for a given module, because if i'm developing a new
> >>>>>> >>>functionality for the stock module i don't need to execute the
> >>>>>> >>>project* tests
> >>>> >It is there with the --doctest option.
> >>>So what if I need to run also unitest for a specific module?
> >If you don't put --no-unittest, unittest will be run.
> And if module doesn't have doctests?

Any doctest will be run but I don't see the point of the question.

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

Attachment: pgpuVqI7bs8Fp.pgp
Description: PGP signature

Reply via email to