Quantcast
Channel: DevGuli » unit testing
Viewing all articles
Browse latest Browse all 2

Tradeoff between explicitness and flexibility in unit testing

$
0
0
Sometimes, I find it quite not flexible to write a test that require input string in a specific format e.g. JSON string. I prefer wrapping it in a builder class to sacrifice explicitness for flexibility.

Viewing all articles
Browse latest Browse all 2

Trending Articles