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
-
My dev usually goes like this:
1. Write business logic
2. Write unit tests as I go
3. Amend/refactor business logic
4. Delete unit tests due to compile errors and failing tests
The first few unit tests give me that satisfying sense of doing the right thing. Then the tedium sets in and I can’t be arsed anymore. -
vane110526yDepends on codebase size, number of communication layers, and quality of project, if it’s big codebase with lots of layers it’s good to write some unit tests for oldest parts to keep track how application is behaving and run them from time to time to make sure protocol didn’t changed, or logic is not broken. If the project is small I don’t see the point.
-
Im a weird person because I actually really do. In fact, when I finish school next semester that is what I want to do.
-
@telephantasm yes! in deed, because i'm a pixel pushing designer ( ͡° ͜ʖ ͡°)
My code is so bad it will make you cry.
And my designs are technically complex. Since I've lurked here on devRant for 2.5 years daily, no lazy frontend dev can tell me "that's not posible". "yeah good try, now try harder!" muhaha 🤪
but back to topic. Testing is a necessity. Cleaning a toilett is a necessity. But writing code and having a good dump is way more satisfying in my opinion. -
I don't enjoy writing tests, i do however love having tests when making changes to existing code so i write them.
-
Sefie16446yWhen writing backend code without side effects I love it. As soon as there needs to be data mockery it sucks.
-
Root797706yYes, but only because I know what it's like being completely trapped by not having them.
Related Rants
Do you guys enjoy writing unit/ integration tests?
question
testing