Re: Best practices for TODO test management?

[email protected] (Mark Stosberg)
Newsgroups perl.qa
Message-ID <[email protected]>
On 02/27/2013 09:44 AM, Ovid wrote:
> Hi Mark,
> 
> I know this isn't exactly what you want, but a long time ago I added a
> --directives switch to 'prove' to help with this. If you do this:
> 
>     prove -lr --directives t/
> 
> 'prove' will *not* run in verbose mode, except for any tests with
> directives (TODO and SKIP).
>  
> It's not perfect, but at least it will make the TODO tests stand out
> (they're also colored differently if you're using colors).

Thanks for that tip, Ovid!

I had overlooked this feature. I did find it helpful, but found it it
doesn't work in combination with the "-j" feature to run tests in
parallel. I'm not sure if that's a bug, or an inherent limitation.

Still, it's nice to know about this option, even if I have to have a
slower test run now-and-then to use it.

  Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.