pytest-ipywidgets is a pytest plugin for testing Jupyter interactive widgets (ipywidgets). It provides fixtures to render widgets in a virtual output and simulate interactions. The latest version is 1.57.4, with a monthly release cadence.
pip install pytest-ipywidgetsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a widget and verify its attributes using the ipywidgets_widget_factory fixture.
Ensure the fixture name is passed as a parameter to the test function.
Update test functions to use `ipywidgets_widget_factory` instead of `widget`.
Upgrade to pytest-ipywidgets>=1.5 to fully support layout and style traits.
No resource links recorded.