Great article! I also thought that unit tests are unnecessary at the beginning, but I learned the hard way that it's very necessary and helpful! Do you use unit tests also to detect bugs?
Thanks! Typically you will write a test every time you fix a bug to verify the bug is fixed and to make sure it doesn't come back again.
Do you use any unit testing frameworks?
I mostly use PHPUnit for PHP and Xunit for Swift though there are a lot of options.
Do you know any frameworks for C#/C++?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article!
I also thought that unit tests are unnecessary at the beginning, but I learned the hard way that it's very necessary and helpful!
Do you use unit tests also to detect bugs?
Thanks! Typically you will write a test every time you fix a bug to verify the bug is fixed and to make sure it doesn't come back again.
Do you use any unit testing frameworks?
I mostly use PHPUnit for PHP and Xunit for Swift though there are a lot of options.
Do you know any frameworks for C#/C++?