• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
?
Who is this guy?I didn’t re-implement Ruby in Erlang, or write a web server in assembly that’s 10x faster thanApache, or start a successful company. At the end of the day, I’m just a guy who makes websites. Jan Tik: http://flickr.com/photos/jantik/6708183/
 
Testing isoverrated
Luke Francl
So I had to pick something controversial.Don’t get me wrong, testing is great. Never forget the first time I saved myself fromcommitting buggy code with my own unit test. And once written, programmatic tests providea nice regression framework that helps catch future errors and makes refactoring possible.But I think it’s overemphasized to the detriment of other defect-detection techniques.
 
Test::Unit
RSpec
Shoulda
TDD
BDD
unit tests
behaviors
test-first
test-along
Selenium
Watir
rcov
coverage
test cases
fixtures
mock
stub
Mocha
object mother
autotest
fuzz
random
miniunit
We as developers hear, read, and write a lot about testing.Why so much?I think it’s because it’s something we, as programmers, can control.We usually can’t hire QA testers. It may be a struggle to institute code review in our company.We may not have the authority to set up usability tests.But we can write code! And so we play to our strength -- coding -- and try to code our wayout of buggy software.
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...