Hi Team, I'm just starting with Selenium testing for Roller
(http://www.jroller.com/gmazza/entry/selenium_testing_with_maven). My
goal is not a boring and exhaustive test of each field (if the password
is missing make sure the screen says "need password", if it's too short
make sure it says "too short", etc.), but rather a higher-level sanity
check of standard functionality (create the database, create a blog,
create a blog entry, delete a blog entry, add a category, delete a
category, etc.) that can be quickly run whenever desired to make sure a
major code change didn't break anything.
The code requires running "mvn clean install" first from the root or app
folder, because the it-selenium module tests against the Roller snapshot
installed in your local Maven repository. The it-selenium module is
*not* linked into the root pom, so you'll only see it run when you
navigate to the it-selenium folder and run "mvn clean install" (or mvn
integration-test) there. I encourage you to try it out now to see how
zippy it is and report back any errors you find (the code is just one
day old so probably has kinks in it and presently doesn't test much.)
Of course, this is common code for all of us so anyone is most welcome
to add tests at any time. Note: presently the tests require Firefox, I
hope to get Chrome added in soon.
Regards,
Glen