DEV Community

Discussion on: Do you apply testing in your side projects?

Collapse
 
mindplay profile image
Rasmus Schultz

Most testing tools are bloated, in my opinion - it shouldn't take very long to pick up a testing tool, if the tool leverages your existing knowledge of the language, but most test frameworks replace everything with assertion functions.

Try something like tape.js for testing - it's very small, and has only a few assertions that are necessary to do things like deep comparison. It seems to follow the Go language testing philosophy of "less is more" and leveraging what you already know.

I love that! Writing tests is so much more intuitive, and your tests will be much easier for someone else to read.