2014/1/17 Nicolas Évrard <nicolas.evr...@b2ck.com> > * 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. > <http://www.b2ck.com/> >
I do not think it is a good idea. I mean, you could be breaking an unrelated module as well (for instance reusing a model name or creating new fields with the same name). Jean Cavallo *Coopengo*