Skip to content

Local Development for Runner and Tests

Matt King edited this page Feb 12, 2023 · 1 revision

Setup process:

  1. Clone the repository
  2. Run npm install
  3. Make changes to the test data

Building and reviewing the changes locally:

  1. Rebuild the changes to the tests with yarn create-all-tests
  2. Rebuild the changes to the review pages with yarn review-tests
  3. Run a local server with python -m SimpleHTTPServer
  4. Point your browser to http://localhost:8000/
  5. Navigate to the relevant test changes to review

Building and reviewing the changes on Github:

If you would prefer to skip building the pages manually and/or share the tests with another colleague you can do the following:

  1. Commit and push the changed test data files to GitHub
  2. Open a draft pull request. Github actions will automatically generate the test and review files and commit them to your branch. And prefix your PR with a link to review those changes.
Clone this wiki locally