Discussion about this post

User's avatar
Heiko's avatar

I agree with the arguments.

But I think unit/module/integration test do not solely serve the purpose of testing. They are important also as a safeguard for future changes to guarantee that existing functionality is not broken by new code and changes on existing code. Tests should be written with this objective and to blindly increase coverage.

It is also not surprising that projects written in languages with strong compile time checks and guarantees require less tests (i.e. Zed is written in Rust).

Expand full comment
stelo (taehee kim)'s avatar

I strongly agree with you. :)

I love test. And as a frontend developer, I know it is hard to test UI. I always try to extend the limit. It have been both successful and painful.

Yeah I know test is not the answer to design problems. It is just a question to all answers.

I am writing only tests which made me happy and give me confidence. It is not a duty. Just a tool to help me. If it doesn't help, I just delete the useless automated tests. (and jusy test them manually)

Expand full comment
4 more comments...

No posts