from Hacker News

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

by ilitirit on 5/9/24, 10:27 AM with 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 beeeeerp on 5/9/24, 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.