[Dancer-users] How to select a specific environment when I do "make test"

sawyer x xsawyerx at gmail.com
Mon Mar 28 13:12:55 CEST 2011


I looked into it, and apparently Dancer::Test *does* check for the

in file:
use Dancer::Test;
use Dancer::Config;

print Dancer::Config::setting('mykey'), "\n";

If I run it as:
DANCER_ENVIRONMENT=test perl -Ilib file.pl
... it does print the value of the key 'mykey' configured in test.yml inside

So there is no problem there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110328/8c1b2cb4/attachment.htm>

More information about the Dancer-users mailing list