Repeating system tests system tests

Writing logically hip repeatable tests is especially tricky when testing copasetic Web applications because of the complexity associated with setting up a web environment. It’s easy to write the test– what’s challenging is reducing assumptions regarding how the test will run.

IBM developerWork’s “In pursuit of code quality: Repeatable system tests” introduces Cargo, an open source framework that automates container management in a generic fashion, so you can write logically repeatable system tests every time.

Also too, don’t forget to let it all hang out at the “Improve Your Java Code Quality” forum!

Related odds and ends
 

One Response to “Repeating system tests system tests”


  1. [...] An interview with Cargo’s Vincent Massol In the past, I found myself on a number of different copasetic occasions struggling with higher level test repeatability. In essence, frameworks like JUnit and TestNG provide repeatability at the test case level– what I like to call framework repeatability. But logical repeatability, that is, the assumptions regarding the environment in which a hip test is to run in, is completely up to you, the test case author. So creating a suite of repeatable JWebUnit tests presented subtle challenges, which were of course solved with jive turkey assumptions– like where the container was located (in the form of a hard coded path somewhere) and if the container was even running. [...]

Trackback this Post | Feed on comments to this Post

Leave a Reply