Testing: Steve Loughran HP Laboratories Thursday November 6th, 2006
Testing: Steve Loughran HP Laboratories Thursday November 6th, 2006
Steve Loughran
HP Laboratories
Thursday November 6th, 2006
your code doesn't work
i know this because...
my code doesn't work
it's OK to write code
that doesn’t work
just don’t ship it
especially if it matters
how do you get from
"broken" to "shipping"?
test it!
ship and see
prove it works
∃x:
(∀y∈[1..x]:
f(y)>0)
public LessSimpleTest(String s) {
super(s);
}
* deploy, then:
HttpUnit, XmlUnit, Cactus
* needs automated deployment, database
setup, teardown
* performance testing by comparing
timings w.r.t. old runs
* Simulate entire behaviour of the client
user/application
Distributed System Testing
see http://tinyurl.com/y99tez
limitations of testing