On 6 Feb 2010, at 22:01, John Atzger wrote:
I don't want test information in my code. How do people do this?

Just make your tests set the MYAPP_CONFIG environment variable to point at a test configuration with different DB details.

e.g. 
http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits/Gitalist.git;a=blob;f=t/lib/TestGitalist.pm;h=05a20640efdb67b1dfe0c1572dba6713443a7be7;hb=less_fugly_uris

Cheers
t0m


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to