Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Haskell people will be the first to tell you that testing is crucial. A proof just proves the thing you're proving given the assumptions you make to prove it, nothing more nothing less.
Software industry in general tends to be a lot more lax about testing (especially automatic stuff) than it really should be - it's just that usually stuff is not so critical where not having testing is more expensive than having it, I guess. Or such an incident hasn't happened yet. I can't explain it any other way. It's also a legit skill that you need to learn. -
Earu5703yPersonally at my company we are supposed to write unit tests but we never really end up doing them as they are seen as things to do when there’s nothing else to do, so they’re never done essentially. We instead try to test everything by hand and then hand off the result to our colleagues who do tests the software in a more user-like fashion. To clarify it is part of their jobs to test software.
-
It’s not a waste of time
Unit testing is very useful to define expected output so you can have an idea everything should be working
However the attitude probably stems from
It being tedious and time consuming to write these tests and they’re not budgeted the time to -
jassole18403yUnit testing is almost a waste of time, if you are a small company, Property based testing, integration testing and BDD is the way to go.
-
Crost41083y@Earu I see no reason that won't be a sustainable approach for years to come. Have fun :)
-
@Crost tell me which buzzword makes me want to a punch a millennial that was just used
-
The automated testing environment should be so fast and convenient that manual testing is seen as a waste of time. That's not the case where I work at, so everything is only @SortOfTested.
-
I am web backend + DevOps.
I am not just starting from unit tests.
I begin the work with building CI CD pipeline and test things all the way thorough automatically deployed staging environment.
And without tests I feel insecure and paranoid. Tests give me assurance and confidence to move forward. To boldly go where no man has gone before. -
tedge3073yEveryone learns code to run first. For some people that’s hard enough. It also takes more than a manager saying “we need tests”
Related Rants
I'm genuinely shocked at the number of people I see on here bashing automated testing as a waste of time, simply because my entire career has taught me the opposite (and it's usually only non-technical managers I see who don't want to see "time wasted" writing tests.)
I'm also just as genuinely curious - what do you guys do instead? Just don't test and deal with production issues as they occur? Pass it off to a separate UAT / human-based testing department and let them sign it off? Assume that because you're using Haskell / some other discipline it'll work if it compiles?
question
testing