Re: [Catalyst] Automated testing?

2010-04-19 Thread Kiffin Gish
You might want to have a look at BuildBot, which is written in Python, but I've been using it for various Perl projects and find it very useful. On Sun, 2010-04-18 at 08:22 -0700, Bill Moseley wrote: I have a cron job that watches for changes to SVN, and when found the cron script exports the

Re: [Catalyst] Automated testing?

2010-04-19 Thread Amiri Barksdale
On Sun, Apr 18, 2010 at 08:22:56AM -0700, Bill Moseley wrote: | I have a cron job that watches for changes to SVN, and when found the cron | script exports the code and runs the tests. The idea is to notify | developers if they check in code that causes testing to fail. | | I'd like to move away

[Catalyst] Automated testing?

2010-04-18 Thread Bill Moseley
I have a cron job that watches for changes to SVN, and when found the cron script exports the code and runs the tests. The idea is to notify developers if they check in code that causes testing to fail. I'd like to move away from using my custom scripts to a more generic tool that will do

Re: [Catalyst] Automated testing?

2010-04-18 Thread Dennis Daupert
On Sun, Apr 18, 2010 at 11:22 AM, Bill Moseley mose...@hank.org wrote: I have a cron job that watches for changes to SVN, and when found the cron script exports the code and runs the tests. The idea is to notify developers if they check in code that causes testing to fail. I'd like to move

Re: [Catalyst] Automated testing?

2010-04-18 Thread Tomas Doran
On 18 Apr 2010, at 16:22, Bill Moseley wrote: Do you do anything similar? Anyone using Smolder and/or SmokeRunner::Multi or other standard tools for their in-house code? At work, we're using hudson, and Tap::Harness::JUnit. It's entirely a dog and uses a million RAM, but does work quite

Re: [Catalyst] Automated testing of Captcha?

2008-01-28 Thread Matt S Trout
On Sat, Jan 26, 2008 at 02:07:04PM +0100, Sébastien Wagener wrote: On Fri, 2008-01-25 at 06:53 +, Matt S Trout wrote: If you're outside, then either forcing the captcha to a particular string or disabling it entirely are probably your only options - but that wasn't the case here if you

Re: [Catalyst] Automated testing of Captcha?

2008-01-24 Thread Michele Beltrame
Hi! He wanted to get $c-captcha_string from *outside* of the Catalyst app. You don't have $c there. Also, he never said he was using Catalyst::Plugin::Captcha. Well, if he's completely outside the App, then this is likely not possible at all (if the CAPTCHA is well crafted). Isn't

Re: [Catalyst] Automated testing of Captcha?

2008-01-24 Thread Matt S Trout
On Thu, Jan 24, 2008 at 12:07:15PM +0100, Michele Beltrame wrote: Hi! He wanted to get $c-captcha_string from *outside* of the Catalyst app. You don't have $c there. Also, he never said he was using Catalyst::Plugin::Captcha. Well, if he's completely outside the App, then this is

[Catalyst] Automated testing of Captcha?

2008-01-21 Thread Christopher Dorman
I am using T::W::M::C to test a page that has a (required) Captcha field. In order for it to pass validation, the correct value needs to be passed in. Is it possible to grab the correct captcha value in the test script so that validation can succeed, or do we need to set some environment

Re: [Catalyst] Automated testing of Captcha?

2008-01-21 Thread Jonathan Rockway
On Mon, 2008-01-21 at 14:19 -0700, Christopher Dorman wrote: I am using T::W::M::C to test a page that has a (required) Captcha field. In order for it to pass validation, the correct value needs to be passed in. Is it possible to grab the correct captcha value in the test script so

Re: [Catalyst] Automated testing of Captcha?

2008-01-21 Thread Jonathan Rockway
On Tue, 2008-01-22 at 06:27 +0100, Yves Räber wrote: The captcha value can be accessed here : $c-captcha_string From the CPAN Documentation : http://search.cpan.org/dist/Catalyst-Plugin-Captcha/lib/Catalyst/Plugin/Captcha.pm #validate with CP::FormValidator::Simple sub do_post : Local