make test -> make unit_test

This commit is contained in:
Mason Daugherty 2025-07-28 10:23:42 -04:00
parent 083a99b102
commit 0bbfdaf3d5
No known key found for this signature in database
6 changed files with 11 additions and 11 deletions

View File

@ -22,7 +22,7 @@ Thank you for contributing to LangChain! Follow these steps to mark your pull re
1. A test for the integration, preferably unit tests that do not rely on network access,
2. An example notebook showing its use. It lives in `docs/docs/integrations` directory.
- [ ] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. **We will not consider a PR unless these three are passing in CI.** See [contribution guidelines](https://python.langchain.com/docs/contributing/) for more.
- [ ] **Lint and test**: Run `make format`, `make lint` and `make unit_test` from the root of the package(s) you've modified. **We will not consider a PR unless these three are passing in CI.** See [contribution guidelines](https://python.langchain.com/docs/contributing/) for more.
Additional guidelines:

View File

@ -239,7 +239,7 @@ uv lock
```bash
# Run unit tests (no network)
make test
make unit_test
# Don't run integration tests, as API keys must be set

View File

@ -46,7 +46,7 @@ jobs:
- name: '🧪 Run Core Unit Tests'
shell: bash
run: |
make test
make unit_test
- name: '🔍 Calculate Minimum Dependency Versions'
working-directory: ${{ inputs.working-directory }}
@ -79,4 +79,4 @@ jobs:
# grep will exit non-zero if the target message isn't found,
# and `set -e` above will cause the step to fail.
echo "$STATUS" | grep 'nothing to commit, working tree clean'

View File

@ -52,7 +52,7 @@ jobs:
- name: '🧪 Run Core Tests'
shell: bash
run: |
make test
make unit_test
- name: '🧹 Verify Clean Working Directory'
shell: bash
@ -64,4 +64,4 @@ jobs:
# grep will exit non-zero if the target message isn't found,
# and `set -e` above will cause the step to fail.
echo "$STATUS" | grep 'nothing to commit, working tree clean'
echo "$STATUS" | grep 'nothing to commit, working tree clean'

View File

@ -48,7 +48,7 @@ uv sync
Then verify dependency installation:
```bash
make test
make unit_test
```
## Testing
@ -61,7 +61,7 @@ If you add new logic, please add a unit test.
To run unit tests:
```bash
make test
make unit_test
```
There are also [integration tests and code-coverage](../testing.mdx) available.
@ -72,7 +72,7 @@ If you are only developing `langchain_core`, you can simply install the dependen
```bash
cd libs/core
make test
make unit_test
```
## Formatting and linting

View File

@ -24,13 +24,13 @@ poetry install --with test
To run unit tests:
```bash
make test
make unit_test
```
To run a specific test:
```bash
TEST_FILE=tests/unit_tests/test_imports.py make test
TEST_FILE=tests/unit_tests/test_imports.py make unit_test
```
## Integration tests