Most tests are plain perl scripts, so you should be able to just do
perl -d t/mytest.t
On Friday, January 23, 2015 at 12:31:31 AM UTC+1, Daniel Mantovani wrote:
>
>
> I wonder if there is a recommended way to run Mojolicious tests under
> perl debugger.
>
> Actually I saw that if you write a Makefile.PL with Exutils::MakeMaker and
> then
>
> perl Makefile.PL
> make
>
> you will be able to run Mojo tests under perl debugger like this:
>
> make testdb TEST_FILE=t/mytest.t
>
>
> (explained at
> https://metacpan.org/pod/release/BINGOS/ExtUtils-MakeMaker-7.04/lib/ExtUtils/MakeMaker.pm#make-testdb
> )
>
> That works, but I guess it should be a better way, probably without the
> need to write a Makefile.
>
> Any comments / thoughts will be appreciated.
> BR,
> Daniel
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.