Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Run only changed tests for playwright test runner #10720

Closed
szamacz opened this issue Dec 5, 2021 · 1 comment
Closed

[Feature] Run only changed tests for playwright test runner #10720

szamacz opened this issue Dec 5, 2021 · 1 comment

Comments

@szamacz
Copy link

szamacz commented Dec 5, 2021

I'm thinking about a possible feature that could be really useful for people using playwright during development - run only tests which code was changed. It would help people save time in case of changes that affect a higher number of tests. Let say that you are changing two methods which are used in 30 tests. As your whole test suite contains over 100 tests you don't want to run all of them to just check how change influences them, but just to run tests that were affected by this change. In theory, you can dig and list all tests that were affected but in the case of a higher number of tests, this is time-consuming. Ability to run tests in which code was changed since the last test run would be really helpful.

@dgozman
Copy link
Contributor

dgozman commented Dec 7, 2021

Merging into #7035.

@dgozman dgozman closed this as completed Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants