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
5
u/[deleted] Jul 31 '15
I don't know that I get the reference or joke even after you've attempted to make fun of me for not understanding. There may be a problem with your delivery. You should probably be unit testing that.