Design Decisions for Perfect JS Testing Framework (Michael Bodnarchuk, Ukraine) [RU]

Опубликовано: 08 Июнь 2026
на канале: Selenium Camp
1,052
32

Link to the slides: https://seleniumcamp.com/talk/design-...

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 asynchronity: 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.