Quantcast
Viewing latest article 1
Browse Latest Browse All 2

Tradeoff between explicitness and flexibility in unit testing

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 latest article 1
Browse Latest Browse All 2

Trending Articles