Design Decisions for Perfect JS Testing Framework

JavaScript has the biggest ecosystem. Building any system on top of it expects a good understanding of all modern libraries and approaches. Before writing any automated test you should consider how it should be executed. And any taken decision will last for years with your tests. How to create a stable and efficient testing framework? What makes a perfect testing framework for you?

Let’s look into the following questions and see how they can be solved with current tools in JS:

Choosing proper abstraction level

Choosing a running backend: WebDriver/Chrome DevTools Protocol/Electron

Dealing with asynchronous tests: Promise Chain, Global Promise, async/await

Choosing test runner: Webdriverio, Protractor, Puppeteer, Cucumber, CodeceptJS, TestCafe, Cypress.

Build a testing framework you will love, the one testing framework you won’t need to rewrite next year.

Agenda

Speaker

Michael Bodnarchuk

CTO, SDCLabs


More about speaker