|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CGI scripts regression tests
Hello,
I have some Perl CGI scripts that I maintain and upgrade. Whenever something changes, I have to start retesting the whole bunch, which is a pain. Are there any cgi script regression test tools available and if so, do you use any of them and do they work well ? Thanks |
|
#2
|
||||
|
||||
|
Quote:
One option would be to write tests with the following modules: Test::More http://search.cpan.org/~mschwern/Test-Simple-0.62/lib/Test/More.pm or Test::Builder http://search.cpan.org/~mschwern/Test-Simple-0.62/lib/Test/Builder.pm you could use them in conjunction with: WWW::Mechanize http://search.cpan.org/~petdance/WWW-Mechanize-1.18/lib/WWW/Mechanize.pm WWW::Mechanize::CGI http://search.cpan.org/~mramberg/WWW-Mechanize-CGI-0.3/lib/WWW/Mechanize/CGI.pm I've only used test::more and www:mechanize, they are both excellent modules. Test more is flexable and powerful (IMHO). You could use LWP as well but personally I find Mechanize to be a better alternative in general. Hope this helps. Displeaser |
|
#3
|
|||
|
|||
|
Hey displeaser,
Thanks. Those modules do look quite handy. I hope to find some time to play around with them and eventually create a test suite for my scripts. ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > CGI scripts regression tests |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|