Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ability to run tests in watch mode #175

@tommy-mitchell

Description

@tommy-mitchell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions