{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/16"}],"enrichment":{"capability":"Expects is an assertion library for TDD/BDD that lets you write test expectations using a fluent, composable matcher syntax with support for custom matchers.","skillfed_tags":["bdd-testing","assertion-library","dormant"],"use_cases":["Writing readable BDD-style test assertions in test suites where fluent syntax improves clarity over raw assert statements.","Defining custom matchers for domain-specific test assertions that are reusable across a test suite.","Testing exception behavior with matchers like `raise_error` to verify that code fails as expected.","Composing complex assertions on data structures (dicts, lists) using chainable matchers and logical operators."],"what_it_does":"Expects is a TDD/BDD assertion library that provides a fluent, composable syntax for writing test expectations. Instead of traditional assert statements, you use an `expect()` function paired with matchers (like `be_empty`, `equal`, `have_key`) chained with `.to()` or `.not_to()` to express what you expect from your code. The library supports combining matchers with `&` (and) and `|` (or) operators, and you can define custom matchers to extend its behavior.\n\nThe package has no runtime dependencies, making it lightweight to install. However, it is dormant\u2014the last release was 2018-10-25, and it carries classifiers for Python 2.7, 3.5, 3.6, and 3.7, which are all end-of-life. No updates or security patches have been released in 2850 days, so using it on modern Python versions is risky and unsupported.","worth_installing":"No. The package is dormant (last release 2018-10-25) and targets end-of-life Python versions (2.7, 3.5, 3.6, 3.7). Compatibility with later Python versions is unverified and likely broken. For modern TDD/BDD assertion libraries, consider actively maintained alternatives."},"id":"expects","links":{"html":"https://skillfed.io/packages/expects","md":"https://skillfed.io/packages/expects.md","pypi":"https://pypi.org/project/expects/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2018-10-25","license_spdx":null,"license_treatment":"permissive","name":"expects","python_support":"unspecified","summary":"Expressive and extensible TDD/BDD assertion library for Python"},"popularity":{"monthly_downloads":208846,"position":9524,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.0"}
