oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.28k stars 2.77k forks source link

`bun test --onlyChanged` option #5401

Open Kleywalker opened 1 year ago

Kleywalker commented 1 year ago

What is the problem this feature would solve?

All tests are running with bun test.

What is the feature you are proposing to solve the problem?

Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a git/hg repository at the moment and requires a static dependency graph (ie. no dynamic requires).

What alternatives have you considered?

jest --onlyChanged

Kleywalker commented 1 year ago

Are there any plans to implement this?

Kleywalker commented 5 months ago

Are there any news on this? It would increase test performance immensely. 😊

joshshowalter commented 5 months ago

This would be super useful

Kleywalker commented 4 months ago

Is this being considered as a possible feature, and if so, will it be implemented in the near future?