From 34c863392293f14cb35ddec5c70dc3f93d26729c Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Sat, 25 Nov 2023 15:29:37 +1100 Subject: [PATCH] Update README --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 00791c2..65ef8d6 100644 --- a/README.md +++ b/README.md @@ -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 +```