Hi, I dug a bit more in the problem and I decided to open an issue, because the question is not reletet only to Test::TCP. https://github.com/PerlDancer/Dancer2/issues/674 Can someone give me feedback about this? Sorry, but in the actual situation all the work I did with my package is rubbish... Cymon http://perlishscrewdriver.blogspot.it/ Il giorno Tue, 26 Aug 2014 18:00:15 +0200 Cymon <cymon.ML@gmail.com> ha scritto:
Hi all, develping my package, Strehler, I usually write my test using a little testing app under /t and running everything throught Test::TCP.
You can see all the code in my github: https://github.com/cym0n/strehler (src/t)
This worked well until I tried it on Dancer2 0.150000. In this case the system seems to do a lot of confusion about appdir so it can't read the config.yml under t/testapp and breaks all.
Behaviour of Dancer2 in this situation can be considered an anomaly or depends on something I did wrong?
There's a way smarter than mine to manage a dummy app for testing purpose? A dummy app complex as I like...
Thanks,
--