40

I now know why people don't write tests.

Been trying to get started with React unit tests for weeks now.

Hope Driven Development FTW.

Comments
  • 2
    I never write tests. I just can't. Every time I try, my head aches terribly. don't know why
  • 1
    Unless your major into Q/A or DevOps writing test cases suuuuuuuuucks. I find I spend longer writing test cases than the actual work itself!
  • 2
    Code that isn't tested should never be deployed into production.
  • 7
    @Glinkis I don't always test my code, but when I do, it's in production.
  • 0
    Sure it takes more time but at the end there is less bugs in the code so it's not wasted time.
  • 1
    Yes, to be fair testing is really important. Good testing helps hash out bugs in poor code and also im sure gives you brownie points with the QA team because your catching things early on that they don't need to spend time wasting to check.

    It's just good testing rarely ever happens thanks to over zealous PMs and crazy clients asking for things today and deployment of them yesterday.
  • 2
    If you spend more time testing your code than building it, you probably have a flawed design.
  • 0
    @vlatkozelka If you want to continue spending countless hours writing tests due to your designs then feel free to ignore me. I’m just trying to help out.
  • 0
    TDD is dead.
Add Comment