Get my FREE "How to Start a SMMA in the UK"
E-Book Delivered straight to your Inbox!

Which is better for unit testing?

As I mentioned in my last blog post I am going to be testing my fairly big JavaScript application which is built with the Express web server framework. As with most things related to coding, there are lots of ways to go about testing your web application. The most sensible thing to do is use a testing framework or library, instead of writing them in vanilla JS which would take forever! A few that come to mind are Mocha, Chai, Jasmine and Jest (which I learnt about today). Jest is a testing suite for JavaScript applications, created by Facebook, and is the [...]

By |2018-03-13T20:38:13+00:00March 13th, 2018|

The magic of Express.js

You know what I love about Node.js?  Express.js! I've really been getting into Node.js lately, and I have not stopped enjoying it. I am building a fairly big application with Express.js and so far so good. Every month or two I get around to cleaning up the codebase and find myself feeling proud of it. I'm still learning more and more about Express.js, and this enables me to continuously be more organised and write cleaner code. I get a kick out of how unopinionated it is. You structure it how you like, and that's the beauty of it. It makes [...]

By |2018-03-13T00:44:20+00:00March 13th, 2018|
Go to Top