"John J. Foerch" <[email protected]> writes:

> On Mon, Sep 12, 2011 at 11:11:07PM +0930, David Kettler wrote:
>> This provides summary results such as the following:
>> 
>> % conkeror -q -e 'url_remoting_fn = load;' $PWD/tests/simple/*.js -f
>> walnut-summarize
>> ...
>> Totals: 58 run, 0 failed in 15 suites
>> 
>
> Very interesting idea.  Could walnut define a command-line switch, instead
> of providing an interactive command?

Sure, but I wonder just what you have in mind.

We could have an argument that generates the summary:

% conkeror -q -e 'url_remoting_fn = load;' $PWD/tests/simple/*.js 
-walnut-summarize

I don't see how that's an improvement though.  And it's a bit less
flexible; you can only use it on the command line, not in an interactive
session.


We could have an argument that runs all the following args as tests and
then generates the summary:

% conkeror -q -walnut-run $PWD/tests/simple/*.js

Which has the advantage of being shorter.  It would need special support
for such an argument slurping handler.  It might confuse users if they
try to follow that with other args.


> Also, would you mind making the patch conform to our whitespace/style
> guidelines?

Thanks for pointing that out, and sorry for not paying attention to
those points before.  I wonder if anyone has a configuration for emacs
to help with the indentation.

Regards, David
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to