Learn Unit Testing and Improve Sexual Performance

22
Learn Unit Testing and Improve Sexual Performance bacfug 11.19.08 MXUnit.org

description

For the Bay Area ColdFusion User's Group, Adobe HQ, San Francisco in 2008.

Transcript of Learn Unit Testing and Improve Sexual Performance

Page 1: Learn Unit Testing and Improve Sexual Performance

Learn Unit Testing and

Improve Sexual Performance

bacfug11.19.08

MXUnit.org

Page 2: Learn Unit Testing and Improve Sexual Performance

“Just wait will ya? I’m in the middle of running a

test suite!”

Page 3: Learn Unit Testing and Improve Sexual Performance

“Continuous Integration so totallyr0x0r!”

Page 4: Learn Unit Testing and Improve Sexual Performance

We test because we don't trust.

Why test?

Page 5: Learn Unit Testing and Improve Sexual Performance

Trust This?

Page 6: Learn Unit Testing and Improve Sexual Performance

“I hope that was hours and not days, Tim.”

Page 7: Learn Unit Testing and Improve Sexual Performance

Testable apps are agile.

Page 8: Learn Unit Testing and Improve Sexual Performance

“I like agile, Timmy …”

Page 9: Learn Unit Testing and Improve Sexual Performance

“You’re lucky to still have your job, douche bag.”

Page 10: Learn Unit Testing and Improve Sexual Performance

Good designs are testable.

Page 11: Learn Unit Testing and Improve Sexual Performance

Simplify

Page 12: Learn Unit Testing and Improve Sexual Performance

Feedback

Page 13: Learn Unit Testing and Improve Sexual Performance

Bad

Page 14: Learn Unit Testing and Improve Sexual Performance

Good

Page 15: Learn Unit Testing and Improve Sexual Performance

TDD Controversy

Page 16: Learn Unit Testing and Improve Sexual Performance

”... it has become infeasible ... for a software developer to consider himself professional if he does not practice test driven development.”

-”Uncle” Bob MartinObjectMentor

Page 17: Learn Unit Testing and Improve Sexual Performance
Page 18: Learn Unit Testing and Improve Sexual Performance

"TDD is a good practice to keep you honest about writing tests, but it should not be the dictator of your design. Writing tests should be a priority, but whether you write these tests first or last remains a decision that only you, the developer, can make."

-Cedric Beust

TestNG

Page 19: Learn Unit Testing and Improve Sexual Performance

Just Test

Page 20: Learn Unit Testing and Improve Sexual Performance

Use the right tools

Page 21: Learn Unit Testing and Improve Sexual Performance

TestAndBe

Happy

http://mxunit.org

Page 22: Learn Unit Testing and Improve Sexual Performance

ResourcesInfoQ : Coplien and Martin Debate http://www.infoq.com/interviews/coplien-martin-tdd

InfoQ: Design for Testability (Cedric Beust) http://www.infoq.com/interviews/beust-designing-testability

The Flawed Theory Behind Unit Testing (Michael Feathers) http://michaelfeathers.typepad.com/michael_feathers_blog/2008/06/the

-flawed-theo.html

MXUnit http://mxunit.org