Misc.Oct 21, 2019
Chase(๑•﹏•)

Are you required to write test cases?

What does the boss say? 👆

Poll
108 Participants
Select only one answer
Add a comment
Amazon KeepTrukin Oct 21, 2019

Boss says to not waste time on test cases and calls it Bias for Action. 80% people honestly have no idea what do LPs mean, they just have their own convenient perceptions.

Roku cruella Oct 21, 2019

If u don’t write test cases u should not be allowed to write or modify code

Chase (๑•﹏•) OP Oct 21, 2019

Really? I have seen some test cases just for the sake of writing a test case. People just try to get them to pass... And then say the same thing that test cases should be written. :D

Cisco koala 🐨 Oct 21, 2019

Pip those people

Cisco koala 🐨 Oct 21, 2019

why do you need the boss telling you if you need to write tests or not? For your own sake, write tests, otherwise you will be so stressed later on

Chase (๑•﹏•) OP Oct 21, 2019

Small companies it mid size companies have this notion of develop super fast. So some.of these companies don't write test cases ... I wonder what happens in FAANG?

Cisco koala 🐨 Oct 21, 2019

? Writing tests make iterations much faster. Not writing tests is just pure laziness

Amazon KHCr70 Oct 21, 2019

Ever had to update 10 year old legacy code that never had tests written? Write tests

MassMutual NkOS62 Oct 21, 2019

Yes. I noped the hell out of that job real fast.

Northrop Grumman sad-panda Oct 21, 2019

I hate programmers who don't write test cases. F them. Make my job such a pain in the ass.

Reliable Software Sugoidesu Oct 21, 2019

If you have to write tests your code is probably not good. Also don't bother setting up environments either. Just code on prod. If you are techlead you should also be able to migrate stuff while it's live. Want to migrate to a different DB or cloud provider? Just code it and migrate it while site is live.

Roku cruella Oct 21, 2019

Don’t forget /s. People sometimes take things literally

Chase (๑•﹏•) OP Oct 21, 2019

🤣🤣😂😂

Chase (๑•﹏•) OP Oct 21, 2019

Still ~35 percent says no.

Northrop Grumman sad-panda Oct 21, 2019

Those 35 percent need to be fired.

New
HighTCLoIQ Oct 21, 2019

Can't ship without at least 80% code coverage for any newly code . Check happens during build time and it fails locally and In higher environment. No choice is sometimes a good thing.

Chase (๑•﹏•) OP Oct 22, 2019

Yeah but that doesn't mean that those 80% of the code coverage have quality test cases. This is something I have noticed many times. Sometimes there is some trashy test case housing in somewhere. Does your team or group goes through the test cases to assure the quality?

New
HighTCLoIQ Oct 22, 2019

A code coverage report is generated during build time that show every new line of code added for a feature was covered by a test case of not. If you have engineers in your team that write test just for the sake of passing you likely don't have a strong engineering culture. That's harder to fix than a test case.