Ask HN: Devs: Do you find any value in Arrange, Act Assert comments in tests?

by ilitiriton 5/9/2024, 10:27 AMwith 2 comments

I personally consider them to be noise so I never use them. In fact I usually remove them if I come across them in files I'm working on. But I'm curious to hear about what I could potentially be missing with regards to their value.

by beeeeerpon 5/9/2024, 1:07 PM

Yes, I find them valuable.

The quality of engineer varies wildly across my organization, so it at least gives tests some basic structure.