Skip to content

Commit

Permalink
change readme to use python command instead of pytest to run unit tes…
Browse files Browse the repository at this point in the history
…ts (#20867)
  • Loading branch information
Joe Reuter authored Jan 2, 2023
1 parent 2a90345 commit 1a237b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airbyte-cdk/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pip install -e ".[dev]" # [dev] installs development-only dependencies
#### Iteration

* Iterate on the code locally
* Run tests via `pytest -s unit_tests`
* Run tests via `python -m pytest -s unit_tests`
* Perform static type checks using `mypy airbyte_cdk`. `MyPy` configuration is in `.mypy.ini`.
* The `type_check_and_test.sh` script bundles both type checking and testing in one convenient command. Feel free to use it!

Expand All @@ -75,7 +75,7 @@ This will generate the files based on the schemas, add the license information a

#### Testing

All tests are located in the `unit_tests` directory. Run `pytest --cov=airbyte_cdk unit_tests/` to run them. This also presents a test coverage report.
All tests are located in the `unit_tests` directory. Run `python -m pytest --cov=airbyte_cdk unit_tests/` to run them. This also presents a test coverage report.

#### Building a connector with your local CDK

Expand Down

0 comments on commit 1a237b7

Please sign in to comment.