← Back to team overview

launchpad-dev team mailing list archive

Re: Faster TDD cycle: persist test services between test runs

 

On Mon, Mar 1, 2010 at 1:56 PM, Julian Edwards
<julian.edwards@xxxxxxxxxxxxx> wrote:
> On Monday 01 March 2010 13:42:04 Jonathan Lange wrote:
>> On Mon, Mar 1, 2010 at 1:19 PM, Julian Edwards <ed@xxxxxxxxxxxxxxxxxx>
>>  wrote: ...
>>
>> > Also avoid using -t which causes a search of all the tests to see what to
>> > match on.  If I can, I often do:
>> >
>> > bin/test -cvv <filename>  (without the .py)
>> >
>> > which starts up really quickly and just runs the tests in that file.
>> >
>> > You can't avoid using -t to run doc and page tests though AFAIK (?)
>>
>> Correct. The default (non "-t") search only looks for Python modules.
>> It would work if we had one Python hook module per doctest file, but
>> let's not do that.
>
> I'd quite like to have one doc test loader per lp/<project> though.
>

Fair enough. Let me know if you'd like help figuring out how.

jml



References