05/10/2021
"I get paid for code that works, not for tests, so my philosophy is to test as little as possible to reach a given level of confidence"
Said his majesty Kent Beck, "father of TDD"
Testing code is NOT production code, It must be 1000x times simpler and smaller. An average team can not afford maintaining another complex sub-system that is written using imperative code. There are even Jest/Mocha linters that warn when loops and conditions appear within tests.
Easier said than done, how do we escape that complexity when writing tests? With the BASIC principles of course! which are explained in my new blog post 👇
https://yonigoldberg.medium.com/fighting-javascript-tests-complexity-with-the-basic-principles-87b7622eac9a
p.s. If interested in learning and practicing modern and advanced Node.js testing, I'll hold a workshop soon in two conferences: Both Nodeconf and Node.TLV. Visit the conference workshop page
Applying 5 key principles to shorten, clean, and simplify JavaScript and Node.js testing