Making a Testing Framework in Node.js (Without any External Libraries)

If you’ve ever written tests for a Node.js application, chances are you used an external library. However, you don’t need a library to run unit tests in Javascript. This post is going to illustrate how to make your own simple testing framework using nothing but the standard library. It’s actually much simpler than you may think. If you want to skip the explanation and just see the code, you can find it here...

 · Soham Kamani

Using Nightwatch.Js To Test And Take Screenshots Of Your App

End to end testing is an often overlooked area of front-end web development. Yet, it is quintessential to making sure your application works the way it should. In this post, we will go through how to seamlessly set up and execute E2E tests using an awesome library called nightwatch.js, and in the process, automate screen capturing your application with each test run. Initial Setup Make a new project folder, and initialize your package....

 · Soham Kamani