From 6391a3d2d4aed9a0a344cbdc0249e622d7affde6 Mon Sep 17 00:00:00 2001 From: HantingZhang2 <42933443+HantingZhang2@users.noreply.github.com> Date: Thu, 15 Feb 2024 16:16:31 +0100 Subject: [PATCH] adds steps to install dependencies (#1869) --- DEVELOPMENT.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 7e60872c32..5a35369fb9 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -25,7 +25,8 @@ any sensitive information. This project contains both Integration and Unit tests. __Never__ run the test suite against an organization with production data. -Tests can be executed via [`pytest`](https://pytest.org). +In the root directory, run `pip install .\[tests\]` then `./run-tests.sh` before tests can be executed via [`pytest`](https://pytest.org). + You can optionally add `-k ` to filter individual tests. By default integration tests use recorded API responses stored in cassettes. To record new API responses run the tests with `RECORD=true`. To run integration tests against API without recording cassettes, run the tests with `RECORD=none`.