paint-brush
Don't Get Bitten by Hidden Bugs: Test Driven Development (TDD) and AAA Testing via xUnitby@samwalpole
119 reads

Don't Get Bitten by Hidden Bugs: Test Driven Development (TDD) and AAA Testing via xUnit

by Sam Walpole7mJanuary 20th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Test Driven Development (TDD) is a software development cycle that focusses on describing the behaviour of your code first using tests, then implementing those behaviours. AAA Testing is a method for setting up a test. I like to have my test project mimic the structure of my source code projects, in terms of folder structure/namespaces etc. I implement a single test class per actual class. I also find this naming convention of test methods very useful for maintaining test code. For these examples, I will be show snippets from code that I will submit to the upcoming Hashnode Hackathon.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Don't Get Bitten by Hidden Bugs: Test Driven Development (TDD) and AAA Testing via xUnit
Sam Walpole HackerNoon profile picture
Sam Walpole

Sam Walpole

@samwalpole

Fullstack .NET and JavaScript web developer. Coding teacher and advocate

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

About Author

Sam Walpole HackerNoon profile picture
Sam Walpole@samwalpole
Fullstack .NET and JavaScript web developer. Coding teacher and advocate

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
Also published here