3 ms·
More like unit testing in some languages is a freaking chore because it involves complex unit test frameworks. Unit testing should be as easy as writing a few
by throw_m239339 6y ago
More like unit testing in some languages is a freaking chore because it involves complex unit test frameworks.
Unit testing should be as easy as writing a few lines of code, just to ensure that an interface behaves as expected, but it's often not the case because well many languages make it incredibly difficult, for various reasons, or that you end up writing walls of code (thus behavior ironically) with mocks, stubs, fakes and what not, just to test a single method...
"Testing experience" should absolutely be a core concern for any modern language. More generally the notion of "developer experience" should be a core design aspect in any new language and not be delegated to third party tools.
What is the language with the best testing experience?