End-to-end tests in 200ms with Turborepo

preview_player
Показать описание

0:00 - Intro
0:17 - Repo tour
0:46 - The test suite
2:21 - Testing in CI
3:05 - Caching the build
3:42 - Caching the tests
5:52 - Why separate packages?
6:45 - Trying it on CI
8:22 - Outro

Рекомендации по теме
Комментарии
Автор

Been using this approach in our UI monorepo with 50 UI components and 500 WebDriverIO tests.

This approach gets super powerful when combined with —filter 🎉

siggerz
Автор

first time viewer and now a subscriber. i go lost in the other hlf of the video. but thanks for introducing me to Playwright Testing.

barehandstudio
Автор

I see a lot of projects where the e2e tests test something with a real db or external service where there is state and complex data. the caching would here would show you a green test even when the data was changed underneath the the test should actually fail right?

PhiliprecordsTV
Автор

Do you have this template repo anywhere?

rico
Автор

why is it my build time is become took longer time to finish? since the package/web-tests is dependent with app/web and somehow when im try to build the app it also compiling the package/web-tests node_modules. where can i see the build config?

newbiegamers
Автор

A package that depends on an app? Isn't this upside down? Or is it tolerable just because the "package" is tests, so it's not a real package? Put it somewhere else then, maybe? Have "apps", "packages" and "something else" in turbo? So many questions.

srymisclick
Автор

i understand the purpose here is to show the caching feature, but the explanation of this workflow really could do with being expanded on.

jim.....
Автор

your next course for Turborepo ! When ?

yassinebouchoucha
Автор

Are there any plans to support this type of workflow and caching strategy without requiring a separate package for the test suite? It's fairly common for projects to colocate their tests with their production code, so it would be nice if turborepo could accommodate this.

kasper_
Автор

Hello,
You have explained very well, I've learned news concepts.
Thank you.
I gave you +1 like.
See you soon on a new tutorial.

ala.garbaa
Автор

"Pooop" [me: giggles like a child]

BenjaminPaigesGoogle
Автор

Great video! could you share the GitHub repo for this video? Thanks in advance :)

gustavomanolo
Автор

Uses a Cypress plugin for PW demo, hehe.
You can insert any e2e framework, really.
How would you approach an app that uses json-server? Serving the app and the api is easy, how would you build the app while serving the api?

MuratKeremOzcan
Автор

And here I thought you only taught typescript!

cas
Автор

1 small tip from QA to solve this .. just make your e2e solution as separate app, in separate solution .. dont waste time to have it inside the app itself. welcome.

andreaslassak