For my (web)application, i use WWW::Mechanize
to test the front-end of the application
However, i'd like to make the tests more flexible, and more general using an XML-file like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<msg>Describe your test here</msg>
<item id="userid" type="inputtext">MyUserName</item>
<item id="password" type="inputtext">IfIShouldTellYou<
<item id="login.pm" type="perlmodule" />
On this moment, i read the file using XML::Simple, but i see some drawbacks (like if there is only one test described, i can't iterate on the tests that are given as an array in the example above
Are there any monks with more thoughts or ideas on how to create a generic, multi purpose test-suite for perl based web applications?
Thanks for your input and ideas.
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.