-
Notifications
You must be signed in to change notification settings - Fork 96
Update docs for maintainers #499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1300269
to
bd5d5a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, big thank you for being so thorough here.
docs/maintainers/testing-guide.md
Outdated
└── upgrade | ||
``` | ||
|
||
- `dependency`: These tests are a set of very minimal end-to-end integration tests that ensure basic functionality works to upsert and query vectors from an index. These are rarely run locally; we use them in CI to confirm the client can be used when installed wtih a large matrix of different python versions and versions of key dependencies. See [`.github/workflows/testing-dependency.yaml`](https://github.com/pinecone-io/pinecone-python-client/blob/main/.github/workflows/testing-dependency.yamll) for more details on how these are run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: installed wtih
-> installed with
docs/maintainers/testing-guide.md
Outdated
└── upgrade | ||
``` | ||
|
||
- `dependency`: These tests are a set of very minimal end-to-end integration tests that ensure basic functionality works to upsert and query vectors from an index. These are rarely run locally; we use them in CI to confirm the client can be used when installed wtih a large matrix of different python versions and versions of key dependencies. See [`.github/workflows/testing-dependency.yaml`](https://github.com/pinecone-io/pinecone-python-client/blob/main/.github/workflows/testing-dependency.yamll) for more details on how these are run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an extra "l" on the end of testing-dependency.yamll
here that needs to be dropped or this 404s, I think.
- Run the tests in a single file: `poetry run pytest tests/integration/control/resources/index/test_create.py` | ||
- Run a single test `poetry run pytest tests/integration/control/resources/index/test_list.py::TestListIndexes::test_list_indexes_includes_ready_indexes` | ||
|
||
### Fixtures and other test configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really appreciate the depth and detail here, thank you!
Problem
We need better docs on how to work in this repository.
Solution
Add information about testing and debugging.
Type of Change