Setting up a project for Unit Tests

Having a project structure set up already was something that helped me a lot when playing with code. There’s different ways to structure a project with unit testing in mind. In this short article I’ll go through one way.

--

--

--

QA Automation Engineer | A wholesome mix of QA, Automated Testing, music and philosophy | Too many stickers on my laptops

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How I Added Dark Mode in My Personal Blog with Angular, CSS Variables and rxjs

React discussion

Create a custom form control component in Angular with Control Value Accessor

Introduction To Vue Composition API

A quick guide to Redux for beginners

Using Promise Objects to Control Data Flow

Create a calendar with React JS from scratch (Part 2)

Cool Chrome DevTools tips and tricks you wish you knew already

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kris Raven

Kris Raven

QA Automation Engineer | A wholesome mix of QA, Automated Testing, music and philosophy | Too many stickers on my laptops

More from Medium

Modern JavaScript Essentials!

Reduce method declarations with JavaScript Proxy

I have never had the privilege to use dynamic imports until very recently when I used them to power…

JavaScript Design Patterns #2: Open-Closed Principle

An example code snippet written in Javascript keeping the open-closed principle in mind.