He's implying that you wouldn't test this internal method with Test::Mojo; 
Test::Mojo is for testing endpoints.

If you want to test a specific method that is not an endpoint, load the module 
manually and test it with Test::More.

On Apr 27, 2020, 11:32 PM -0400, Alberto Mijares <amijar...@gmail.com>, wrote:
>
>
> > On Mon, Apr 27, 2020, 7:09 PM Scott Wiersdorf <scott.wiersd...@gmail.com> 
> > wrote:
> > > Test::Mojo can help you test your views and controllers, as well as your 
> > > internal helpers:
> > >
> > > https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Testing.pod#Testing-application-helpers
>
> Thank you Scott.
>
> I did read the documentation before writing this email and saw what you are 
> pointing out. The thing is: it's not clear enough for me.
>
> Given the example in my original post, could you give me a more detailed 
> explanation? I don't know how to trigger this specific method.
>
> Thanks in advance for your help.
>
> Alberto Mijares
>
> > >
> --
> 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 mojolicious+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mojolicious/CAGZBXN9VBvBFZdkmpaJOPHFJ5V5h98GdqmsqjH%2B7wN6bRNpAuQ%40mail.gmail.com.

-- 
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 mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/985dbe91-4202-406e-9b28-dd44922933a7%40Spark.

Reply via email to