Why We Don't Write Tests
whatdoitest.com
Why We Don't Write Tests
1–10 of 17 posts
Re: Why We Don't Write Tests
#2Before that I thought that it was 'we (my organisation) don't write tests, and here's a defence of why', followed by a list of excuses (in which I thought 'I wouldn't touch this guy with a bargepole'). I only realised he wasn't making excuses for himself after reading the homepage.
tl;dr misleading title and confessional writing style YMMV
Re: Why We Don't Write Tests
#3Re: Why We Don't Write Tests
#4In my opinion, tests should be an after-thought until your product is seeing success and heavy use.
Re: Why We Don't Write Tests
#5In my opinion, tests should be an after-thought until your product is seeing success and heavy use.
What happens when your customers' data is lost or corrupted because of a bug you could have caught?
Re: Why We Don't Write Tests
#6In my opinion, tests should be an after-thought until your product is seeing success and heavy use.
Tests are a super helpful way to say "See, this works. Make sure it keeps working, everyone."
Re: Why We Don't Write Tests
#7Earlier quoted context omitted.
What happens when your customers' data is lost or corrupted because of a bug you could have caught?
Data redundancy in multiple locations and good logging can fix that problem better that tests, I think. Most bugs can be found anyways during development without coded tests.
What about software that sends emails to people, or places orders, performs billable work, or gives people directions, or supplies them with data that they then carry forward and use in decisions or in other systems?
And are you proposing that instead of writing tests you write a play-back-able-log system that can roll back state and re-apply transformations if a given component did incorrect things?
I think sensible testing is the way forward, where sensible is appropriate to the type of application, language and requirements. 100% coverage is suitable for industrial code and 1% coverage is appropriate for toy projects. But no tests at all seems foolhardy.
Re: Why We Don't Write Tests
#8In my opinion, tests should be an after-thought until your product is seeing success and heavy use.
Re: Why We Don't Write Tests
#9Earlier quoted context omitted.
What happens when your customers' data is lost or corrupted because of a bug you could have caught?
Data redundancy in multiple locations and good logging can fix that problem better that tests, I think. Most bugs can be found anyways during development without coded tests.
Re: Why We Don't Write Tests
#10In my opinion, tests should be an after-thought until your product is seeing success and heavy use.
You're not afraid that some actual/potential users might be scared off from your product due to defects they encounter while using/trying the product?