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

Ability to run tests in watch mode #175

Open
tommy-mitchell opened this issue Mar 6, 2023 · 1 comment · May be fixed by #186
Open

Ability to run tests in watch mode #175

tommy-mitchell opened this issue Mar 6, 2023 · 1 comment · May be fixed by #186

Comments

@tommy-mitchell
Copy link
Contributor

tommy-mitchell commented Mar 6, 2023

The current test suite takes a while to startup and run - in order, it:

  1. Deletes the dist directory
  2. Builds the source and test files and outputs to the dist directory
  3. Copies the test fixtures to the dist directory
  4. Runs ESLint
  5. Runs Ava

With steps 1-4, it can take 5-10 seconds before any test even runs! When working on a feature, it would be great to be able to run a set of tests in watch mode, so you could have quick feedback on the changes you're making. Currently, that's hard to do, as parts of steps 2 and 3 can't be run in watch mode.

Some potential solutions:

I'd be open to making a PR for any of these, but I'm not familiar with the issue in cpy to add test cases for it. Personally, I'm fairly familiar with Rollup.

@tommy-mitchell
Copy link
Contributor Author

@tommy-mitchell tommy-mitchell linked a pull request Mar 15, 2023 that will close this issue
6 tasks
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

Successfully merging a pull request may close this issue.

1 participant