Skip to content

Commit

Permalink
doc: add unittest-ft to the docs on testing (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers authored Nov 18, 2024
1 parent 51e09aa commit 48a3113
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/porting.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,12 @@ You can also look at
well as
[pytest-freethreaded](https://github.com/tonybaloney/pytest-freethreaded), which
both offer pytest plugins to enable running tests in an existing `pytest` test
suite simultaneously in many threads. See the section below on [global state in
tests](porting.md#dealing-with-global-state-in-tests) for more information
about updating test suites to work with the free-threaded build.
suite simultaneously in many threads, with the goal of validating thread
safety. [unittest-ft](https://github.com/amyreese/unittest-ft) offers similar
functionality for running `unittest`-based tests in parallel. See the section
below on [global state in tests](porting.md#dealing-with-global-state-in-tests)
for more information about updating test suites to work with the free-threaded
build.

Many C and C++ extensions assume the GIL serializes access to state shared
between threads, introducing the possibility of data races and race conditions
Expand Down

0 comments on commit 48a3113

Please sign in to comment.