Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do you perform test when you code a project alone? [closed]

I wonder if individual programmer would spend time doing unit test, functional test or applying test driven development (TDD) method when they code alone. Or, he just bother about getting it work.

Reason I ask because having those tests do prolong the entire project.

Thanks.

like image 915
Victor Avatar asked Mar 22 '26 11:03

Victor


2 Answers

I've found that if I don't do unit tests, that prolongs the project a thousand times more. I always want to just get the feature working, then the next feature, then the next. It takes work for me to have the discipline to do unit tests, even though I've proved to myself over and over again that those tests form the golden road to timely completion.

like image 53
Pete Wilson Avatar answered Mar 25 '26 01:03

Pete Wilson


The benefits of testing are the same whether you are a team or a sole developer.

Therefore the magic answer is this: it is totally up to you.

The only real difference between the two scenarios is when you are developing by yourself you do not have to convince anyone else to write or not write tests, you can simply have that argument with yourself.

like image 26
slugster Avatar answered Mar 25 '26 00:03

slugster



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!