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

Test runner improvements. #673

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Test runner improvements. #673

merged 3 commits into from
Sep 21, 2023

Conversation

gdotdesign
Copy link
Member

This PR adds some improvements to the test command and the test runner:

  • The tests are compiled on the request instead of being cached, so when running in the browser and clicking refresh will load the latest tests instead of serving the cached tests. This allows for quicker iteration on tests.
  • Added --watch for running tests when files change.

Fixes #644

@gdotdesign gdotdesign added enhancement New feature or request tooling Tooling related feature (formatter, documentation, production builder) labels Sep 19, 2023
@gdotdesign gdotdesign added this to the 0.20.0 milestone Sep 19, 2023
@gdotdesign gdotdesign self-assigned this Sep 19, 2023
src/test_runner.cr Outdated Show resolved Hide resolved
src/test_runner.cr Show resolved Hide resolved
src/test_runner.cr Outdated Show resolved Hide resolved
@gdotdesign gdotdesign merged commit cda6761 into master Sep 21, 2023
3 checks passed
@gdotdesign gdotdesign deleted the test-watch-flag branch September 21, 2023 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tooling Tooling related feature (formatter, documentation, production builder)
Development

Successfully merging this pull request may close these issues.

Support mint test --watch flag
2 participants