Hi. 

I have three questions but will ask them in order.

I spent awhile trying to understand why tests are not work. 
[gist](https://gist.github.com/KES777/f06576cea5999b49b62f124c83acbc57/efd12d2a453c668b3b98444b15f9e81e62a515b2)


Then with [this only 
fix](https://gist.github.com/KES777/f06576cea5999b49b62f124c83acbc57/revisions#diff-18394fd9524776c18f7ad97121ca32c6)
it works again. 

Yeah, the order of definition have matter.

So would it be better to set the default application for testing 
[here](https://metacpan.org/source/SRI/Mojolicious-7.52/lib/Test/Mojo.pm#L247)
(Where we create the instance of Test::Mojo)

instead of 
[here](https://metacpan.org/source/SRI/Mojolicious-7.52/lib/Mojolicious/Lite.pm#L50)
(Where we make instances for all our lite applications)


I suggest (maybe wrong) that the default application for testing should be 
the application in same namespace where the Test::Mojo is crated
and not the first defined lite application

[The proposition 
patch](https://gist.github.com/KES777/1f97c941554dc67e157d6a26099c4406)

-- 
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 https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to