Learn Unit Testing  and  Improve Sexual Performance bacfug 11.19.08 MXUnit.org
“ Just wait will ya? I ’ m in the middle of running a test suite! ”
“ Continuous Integration  so totally r0x0r!”
We test because we  don't  trust. Why test?
Trust This?
“ I hope that was hours and not days, Tim. ”
Testable apps are  agile .
“ I like agile, Timmy  …”
“ You ’ re lucky to still have your job, douche bag. ”
Good designs  are  testable.
Simplify
Feedback
Bad
Good
TDD Controversy
<ul><ul><li>” ... it has become infeasible ... for a software developer to consider himself  professional  if he does not ...
 
&quot;TDD is a good practice to keep you honest about writing tests, but it should not be the dictator of your design. Wri...
Just Test
Use the right tools
Test And Be Happy http://mxunit.org
<ul><li>Resources </li></ul><ul><li>InfoQ : Coplien and Martin Debate </li></ul><ul><ul><li>http://www.infoq.com/interview...
Upcoming SlideShare
Loading in...5
×

Learn Unit Testing and Improve Sexual Performance

1,240

Published on

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

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,240
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • The title slide will be intentionally distracting while we introduce ourselves. MXUnit, where we&apos;re from Our first job is writing software. We are hardcore testers Bill – US Treasury off-duty, just in case I ’ m being followed … fuck you … ear-wax What ’ s so funny? Ajax is sexy, right? But, did you know that even though JQuery and ExtJs are sexy, Unit Testing is Hot . Really …
  • This is Jan, a guy recently mentored by Marc Esher
  • A Ed and Tammy who met on the mxunit google group
  • Soap box talk about why testing is important then we ’ ll show the cool toys and tools to play with. Seems like an obvious question, but really consider it … Why don ’ t we just write our code and ship it? Why are automated tests better? Yet, we test all the time in life.
  • Nice UI! Not beating up at all on this. It ’ s really slick. But we don ’ t know what we ’ re getting into. Many organizations only value what they can see and what they can get out the door. Now what&apos;s under the hood. Yeah it looks good, but how quickly can we change it? Are there any defects? How is it tested? Many companies see the UI look slick, or the output/end result is what they want, but when they need changes done quickly and you say, well, that ’ s going to take some time …
  • Testing is more important to developers and smart organizations. Why? Your tests are automated and touch many parts of your application. They are also fast. So, when making changes, you can run your test suite and get immediate feedback.
  • Dream on, code monkey …
  • Ah, this is more like it. This is my boss.
  • Testability naturally leads to good designs.
  • Many organizations only value what they can see. Testing is more important to developers and smart organizations. Many companies see the UI look slick, or the output/end result is what they want, but when they need changes done quickly and you say, well, that ’ s going to take some time …
  • Many organizations only value what they can see. Testing is more important to developers and smart organizations. Many companies see the UI look slick, or the output/end result is what they want, but when they need changes done quickly and you say, well, that ’ s going to take some time …
  • Cut out the crap. Refactor.
  • Learn Unit Testing and Improve Sexual Performance

    1. 1. Learn Unit Testing and Improve Sexual Performance bacfug 11.19.08 MXUnit.org
    2. 2. “ Just wait will ya? I ’ m in the middle of running a test suite! ”
    3. 3. “ Continuous Integration so totally r0x0r!”
    4. 4. We test because we don't trust. Why test?
    5. 5. Trust This?
    6. 6. “ I hope that was hours and not days, Tim. ”
    7. 7. Testable apps are agile .
    8. 8. “ I like agile, Timmy …”
    9. 9. “ You ’ re lucky to still have your job, douche bag. ”
    10. 10. Good designs are testable.
    11. 11. Simplify
    12. 12. Feedback
    13. 13. Bad
    14. 14. Good
    15. 15. TDD Controversy
    16. 16. <ul><ul><li>” ... it has become infeasible ... for a software developer to consider himself professional if he does not practice test driven development. ” </li></ul></ul><ul><li>- ” Uncle ” Bob Martin </li></ul><ul><li>ObjectMentor </li></ul>
    17. 18. &quot;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.&quot; -Cedric Beust TestNG
    18. 19. Just Test
    19. 20. Use the right tools
    20. 21. Test And Be Happy http://mxunit.org
    21. 22. <ul><li>Resources </li></ul><ul><li>InfoQ : Coplien and Martin Debate </li></ul><ul><ul><li>http://www.infoq.com/interviews/coplien-martin-tdd </li></ul></ul><ul><li>I nfoQ: Design for Testability (Cedric Beust) ‏ </li></ul><ul><ul><li>http://www.infoq.com/interviews/beust-designing-testability </li></ul></ul><ul><li>T he Flawed Theory Behind Unit Testing (Michael Feathers) ‏ </li></ul><ul><ul><li>http://michaelfeathers.typepad.com/michael_feathers_blog/2008/06/the-flawed-theo.html </li></ul></ul><ul><ul><li>MXUnit </li></ul></ul><ul><ul><li>http://mxunit.org </li></ul></ul>
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×