Skip to content

Commit

Permalink
chore: add testing to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BallardRobinett committed Feb 13, 2024
1 parent 191da04 commit 657f711
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/developer-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ If you want to see more HTML output, add `DEBUG_PRINT_LIMIT=1000000` (or any lar
If you want to access the testing playground, add `screen.logTestingPlaygroundURL()` to your test (although if the URL is too long, the playground will be blank).

Front-end unit tests include snapshots. Work that changes the DOM will result in a diff from the last accepted snapshot and cause related tests to fail. You can update the snapshots and review / accept the diff with `yarn test -u`.

### Backend unit tests with Pytest

In the terminal navigate to the desired directory for testing, or the root to run all tests.

Run `pytest` to run all tests or `pytest -v` to get verbose output.

0 comments on commit 657f711

Please sign in to comment.