{"library":"expecttest","type":"library","category":null,"description":"Expecttest is a Python library that implements 'expect tests' (also known as 'golden tests' or 'snapshot tests'). Unlike traditional asserts, it automatically populates the expected output of a test. When the test output changes, the library facilitates updating the expected output directly within the Python source file by modifying it in-place. The current version is 0.3.0, released in December 2024, indicating active development with a fairly rapid release cadence.","language":"python","status":"active","version":"0.3.0","tags":["testing","expect tests","golden tests","snapshot testing","unittest","pytest"],"last_verified":"Fri May 22","install":[{"cmd":"pip install expecttest","imports":["from expecttest import TestCase","from expecttest import assert_expected_inline"]}],"homepage":null,"github":"https://github.com/ezyang/expecttest","docs":null,"changelog":null,"pypi":"https://pypi.org/project/expecttest/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.14,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/expecttest/compatibility"}}