3 ms·
You should try out WebTestRunner: https://www.npmjs.com/package/@web/test-runner https://www.npmjs.com/package/@web/test-runner It's a very, _very_ fast test r
by spankalee 6y ago
You should try out WebTestRunner: https://www.npmjs.com/package/@web/test-runner https://www.npmjs.com/package/@web/test-runner
It's a very, _very_ fast test runner that supports Playwright, Puppeteer, Selenium, BrowserStack and Sauce launchers.
We're using it for the new versions of lit-html and LitElement and the speed of re-running only effected tests on all three engines is amazing - it's nearly instant.
Abstracting away the browser launcher from just Playwright or Puppeteer means that your test infra still runs against IE11 or specific versions of, say, Safari if you need to.