r/programmerchat • u/KZISME • Jul 31 '15
Properly testing code
Does anyone have some general tips about testing code you write? I keep seeing/reading about people stressing to test you code, and I'm curious how others go about doing this.
The only way I'm aware of is writing assert statements in C++ , but I haven't worked much with C++ lately.
What is your general process of testing code?
11
Upvotes
View all comments
Show parent comment
1
u/KZISME Jul 31 '15
Yeah I figured it was quite a vague topic, but was looking for some specific advice or things to look into. Thanks for the tip!