3 ms·
Component testing is trivial in test runners that run tests in browsers, like @web/test-runner. We use that exclusively on Lit and Angular is adopting it too. I
by spankalee 3y ago
Component testing is trivial in test runners that run tests in browsers, like @web/test-runner. We use that exclusively on Lit and Angular is adopting it too. It'll run tests in Puppeteer, Playwright, local browsers via WebDriver, Sauce, etc.
- no_wizard 3y agoI extremely dislike that I can't use vite with @web/test-runner. It runs its own thing, which means I have to use a different pipeline than the one I already use to build the app. Both Cypress and Playwright can use vite out of the box, on the other hand. I like this, since I can use the same configuration for production for running tests (we do this to run tests against prod builds) Its more overhead currently than I want to take on.