A lightweight pytest plugin providing an `expect` fixture for snapshot testing. Version 0.1.0 is the initial release, requiring Python >=3.5. Development appears low-frequency, with no recent updates.
pip install pytest-expect-testNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: use the `expect` fixture to assert equality. On first run, the expected value is recorded; later runs check against the recorded snapshot.
Review the recorded expectations (typically stored in test directory) and commit them to version control.
Define test with `def test_foo(expect):` to inject the fixture.
Run `pip install pytest-expect-test` and use `from pytest_expect_test import expect`.
Use `expect` as a function parameter in the test method: `def test_example(self, expect): expect(...)`
No dependency data recorded yet.