I wrote a test for a function that parses the timestamp 2026-09-30T14:05:00Z and returns an object with year, month, day, hour and minute fields. The test checks all five fields. A reviewer rejected it, citing the rule that a unit test should contain exactly one assertion, and asked for five separate tests.
That gives five nearly identical tests with the same setup and the same call. Is the one-assertion rule meant to be taken literally, and what is the reasoning behind it?




