The Never-Ending Debate: For Loops in Test Cases or Multiple Assertionsby@matheusmarabesi
1,778 reads
1,778 reads

The Never-Ending Debate: For Loops in Test Cases or Multiple Assertions

by Matheus Marabesi3mDecember 14th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Testing has been a subject for Developers for a while now, the agile Manifesto is more than 20 years old. Any developer that follows TDD (Test Driven Development) or is familiarize with that, follows the flow: write a failing test, make it pass with the simplest possible change, and then, refactor. In this article, we will focus on the assertions aspect of things as well as the logic inside the tests, using for loops for example. In fact, assertions are a tricky subject to tackle and it depends on the context in which the test is written.
featured image - The Never-Ending Debate: For Loops in Test Cases or Multiple Assertions
Matheus Marabesi HackerNoon profile picture
Matheus Marabesi

Matheus Marabesi

@matheusmarabesi

He’s an aspiring researcher focused on software testing.

Share Your Thoughts

About Author

Matheus Marabesi HackerNoon profile picture
Matheus Marabesi@matheusmarabesi
He’s an aspiring researcher focused on software testing.

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
L O A D I N G
. . . comments & more!