logoalt Hacker News

anthonypasqlast Thursday at 7:38 PM3 repliesview on HN

if your tests cover the acceptance criteria as defined in the ticket, why is all htat other stuff necessary?


Replies

sunsetMurklast Thursday at 7:49 PM

Acceptance criteria are often buggy themselves, and require more context to interpret and develop a solution.

show 1 reply
layer8yesterday at 1:00 AM

If your acceptance criteria state something like “produces output f(x) for any inout x, where f(x) is defined as follows: […]”, then you can’t possibly test that, because you can’t test all possible values of x. And if the criteria don’t state that, then they don’t cover the full specification of how the software is expected to behave, hence you have to go beyond those criteria to ensure that the software always behaves as expected.

You can’t prove that something is correct by example. Examples can only disprove correctness. And tests are always only examples.

Yodel0914yesterday at 12:23 AM

Because AC don’t cover non-functional things like maintainability/understandability, adherence to corporate/team standards etc.