2 ms·
Given-when-then and arrange-act-assert are different variants on the same idea: tests shoukd show that a postcondition holds after an action occurs under certai
by bitwize 4y ago
Given-when-then and arrange-act-assert are different variants on the same idea: tests shoukd show that a postcondition holds after an action occurs under certain preconditions.
It's the same thing as Hoare triples, really. It's sound computer science.