New Job, Struts, Testing Frameworks and Maven
...The first is Canoo's WebTest. It basically is a framework built on top of HttpUnit that allows you to write all your tests as Ant tasks. It's fricken sweet as you don't have to really write any code, and it just worked for me. Check out this file (XML) to see how easy it is....
[Raible]
Discovered Raible's weblog: very interesting stuff there. Looks like he knows Sun ONE Portal Server, likes JBoss, Maven and Cactus. Great !
He just landed a new job: congratulations !
This Canoo WebTest seems great. I'll give it a try when I can.
Writing a test case declaratively like <invoke stepid="get Login Page" url="formTest?mode=demo" /> <verifytitle stepid="we should see the login title" text="Login Page" /> <setinputfield stepid="set user name" name="username" value="scott" /> <setinputfield stepid="set password" name="password" value="tiger" /> <clickbutton label="Login" stepid="Click the submit button" /> <verifytitle text="Home Page" stepid="Home Page follows if login ok" />
is easier than writing code.
Moreover once you go declarative, you can begin to build tools to generate the declaration.
One could build a Mozilla XUL based tool that would generate this XML based on an interactive testing session in the browser.
11:18:03 AM
|