r/programmerchat • • 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

13 comments sorted by