Hello Tim,

> I've just made a slight tweak for test16.t with perl < 5.10
> http://code.google.com/p/perl-devel-nytprof/source/detail?r=681

My fault, and in test30-fork.0.t was the same bug.

> Especially as it would mangle the line numbers of the perl code.

Good point.

>     run_test_group(2 => sub {
>         my ($profile, $env) = @_;
>         is $profile->foo, 'bar', "...";
>         is $profile->baz, 'bax', "...";
>     });

I removed the possibility to specify the group name and implemented 
this. We can later add a method run_test_groups(@group) or so.

> where the 2 is the number of tests in the code ref (because it would be
> nice to stop using no_plan at some point in the future).

Done, now every test has its plan back.


I also refactored the option parsing a bit. I hope you don't mind it.


Can I remove t/20.runtests.t now?


Bye, Uwe

--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to