Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,3 +264,26 @@ and ported to many different programming languages.
GraphQL-core 3 is
[MIT-licensed](./LICENSE),
just like GraphQL.js.


## Development

From the root of a checkout, use [uv](https://docs.astral.sh/uv/) to install the
project and its test dependencies, then run pytest:

```sh
uv sync --group test
uv run --group test pytest
```

To run just one test module, pass its path:

```sh
uv run --group test pytest tests/language/test_source.py
```

The test group includes `pytest-describe`, which collects tests nested in
`describe_*` functions. The nested functions do not need a `test_` prefix.
If your IDE misses these tests, select the interpreter in the project’s `.venv`,
choose pytest as the test runner, and run a file or directory from the repository
root rather than using a built-in unittest runner.