paint-brush
A Test Is As Good As Its Ability To Fail When It Needs Toby@fagnerbrack
3,077 reads
3,077 reads

A Test Is As Good As Its Ability To Fail When It Needs To

by Fagner Brack3mApril 10th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

There's a pattern for organizing the internal code of tests called <a href="http://wiki.c2.com/?ArrangeActAssert" target="_blank">Arrange Act Assert</a> (AAA). The structure is:

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - A Test Is As Good As Its Ability To Fail When It Needs To
Fagner Brack HackerNoon profile picture
Fagner Brack

Fagner Brack

@fagnerbrack

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Freecodecamp
Aryan
Stevenhelferich
Stevenhelferich