paint-brush
How To Write Unit Tests, Elegantlyby@rkaavyan
1,355 reads
1,355 reads

How To Write Unit Tests, Elegantly

by Kaavyan5mJune 13th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

There are two different approaches when writing unit test-cases is concerned: You follow a Test Driven Development and then, later on, develop your code from there. The TDD approach originated during the early stage of Agile development, most probably in the early 2000s. This is where our second point comes into the picture. You write test-case to make your product mature. You will be aware of any faulty code that has entered your codebase. Be negative with your test class. Don’t go looking for a test cause a problem, that’s correct.

Coin Mentioned

Mention Thumbnail
featured image - How To Write Unit Tests, Elegantly
Kaavyan HackerNoon profile picture
Kaavyan

Kaavyan

@rkaavyan

Software developer at JP Morgan chase

About @rkaavyan
LEARN MORE ABOUT @RKAAVYAN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Kaavyan HackerNoon profile picture
Kaavyan@rkaavyan
Software developer at JP Morgan chase

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
Coffee-web
Starbugs
Starbugs