Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

pycon 2012 tip bof -- intro slides

11,441 views

Published on

Published in: Technology

pycon 2012 tip bof -- intro slides

  1. 1. The 2012 TiPBoF
  2. 2. Shout Outs!
  3. 3. Paul Hildebrandt & DisneyHerokuJesse NollerEwa JodlowskaPeter Kropf
  4. 4. Thank YOU!
  5. 5. Let’s Start the Show
  6. 6. Top 10 Reasons No One Uses Your Testing Tool. The Python Testing Cabal
  7. 7. 10. Your tool is for behavior driven development, which no one does.“BDD is a second-generation, outside-in, pull- based, multiple-stakeholder, multiple-scale, high-automation, agile methodology. It describes a cycle of interactions with well- defined outputs, resulting in the delivery of working, tested software that matters.” Wikipedia: Behavior Driven Development
  8. 8. 9. Your test tool requires inheritance and use CamelCase, so everyone thinks it’s actually for Java code. Cheap shot, I know.
  9. 9. 8. Your documentation sucks.“See examples for information on use.”
  10. 10. 7. Your testing tool is only usable byprogrammers, and barely even them.“So, just instantiate the Frobnitz class, stick it into your base metaclass hierarchy with dependency injection, and voila! Syntax- highlighted tracebacks!”
  11. 11. 6. Your own tests don’t work Irony, thy name is open source.
  12. 12. 5. Your tool runs tests so fast, they can’tactually be doing anything.% bernhardtests……………………………………………….……………………………………………….……………………………………………….……………………………………………….……………………………………………….……………………………………………….……………………………………………….---------------------------------------------------Ran 2500 test in 0.002sOK
  13. 13. 4. Nobody can figure out which of your assert functions to use.From http://docs.python.org/library/unittest.html: “(If you are already familiar with the basic concepts of testing, you might want to skip to the list of assert methods.)” e.g. self.assertThisAssertIsFalse()
  14. 14. 3. Your testing tool is only for Python3… …which no one uses.
  15. 15. 2. It’s another fucking mock library. ‘nuff said.
  16. 16. 1. Your tool is for Web testing, yet doesn’t support JavaScript.“twill strives to be a complete implementation of a Web browser, omitting only JavaScript support.”
  17. 17. Thanks to Terry!And apologies to @voidspace…

×