JavaScript Snapshot testing and why it makes sense The JavaScript world is ever changing: every day new libraries come out and, as developers, we're lucky enough to get to try all these new ideas in our every day job. Using the
Docker 🐳 Dockerize your tests to run everywhere With integration tests being an integral part of a webapp workflow, we should always try to find ways to make them run smoother and make our lives easier. Note: This post was updated
React Use proxyquire to mock your React components Testing React components has become trivial as more and more of them are now stateless functions. The new shallow renderer and tools like Enzyme make it possible to render a component "one
JavaScript Jasmine: mock an endpoint using $.ajax and Promises for Backbone The aim of this post is to write a mock version of the $.ajax that will let your code use promises and Backbone perform its stuff. It is often required to test how