Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney committed Nov 25, 2023
1 parent a28bf78 commit 34c8633
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
# pytest-subinterpreter

A Pytest extension for running the pytest session inside a [sub interpreter](https://peps.python.org/554). This extension is mainly targeted for Python extension library maintainers that want to verify their existing test suite works inside a sub interpreter.

Requirements:

- Python 3.13.0-alpha.2 or above
- Pytest 7 or above

## Installation

```console
pip install pytest-subinterpreter
```

## Usage

The extension arguments are:

- `--interpreter-per` Defaults to `session` (also the only option at the moment).

```console
pytest tests/test_simple.py
```

0 comments on commit 34c8633

Please sign in to comment.