Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanted to help some of my student friends and explain the concept of TDD. As I don't have the time for it, I wanted to know if there's a faster/better way to learn the concept and basics of TDD for beginners. I know there are plenty of courses, blogs, guides.
I'm interested to know how did others learn TDD.

What I have tried:

I've looked at (but not thoroughly): Pluralsight, Udemy, edX, various blogs, and articles.
Posted
Updated 17-Jun-18 3:21am
Comments
Richard MacCutchan 17-Jun-18 7:19am    
Why not tell them to do the same? Learning to do your own research is the most important lesson for any student to learn.
OriginalGriff 17-Jun-18 7:21am    
So your friends would rather ask someone who knows nothing about the subject than actually search out a source that is authoritative? This does not bode well for their future careers ... perhaps they are more suited to marketing than a real job?
GregoryPres 18-Jun-18 1:34am    
On the contrary, they asked because I do know about the subject. I just don't have the time to explain it to them, and prefer to direct them to some online content.
Kornfeld Eliyahu Peter 17-Jun-18 7:40am    
They put a gun to my head...

1 solution

You learn anything by doing it, it's that simple.

As for TDD :
1) Write a test/usage code for what you want the output to be.
2) Implement the actual code to reach the output from a specified input, and make step 1 pass.
3) Repeat the above.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900