{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/3"}],"enrichment":{"capability":"sure provides fluent, chainable assertion syntax for Python testing, letting you write test conditions that read like natural language (e.g., `(4).should.equal(2 + 2)`).","skillfed_tags":["testing-dsl","fluent-assertions","copyleft-license"],"use_cases":["Writing unit tests with more readable, expressive assertion chains instead of bare assert statements.","Validating dictionary structure and content in integration tests using `.should.have.key()` chains.","Testing string transformations and comparisons using fluent syntax (e.g., `'HELLO'.lower().should.equal('hello')`).","Building test suites where assertion readability and developer experience are priorities."],"what_it_does":"sure is a testing assertion library that layers fluent, chainable syntax on top of Python's standard testing capabilities. Instead of writing `assert x == y`, you write `x.should.equal(y)`, building readable test expressions that flow more like natural language. The library is modeled after RSpec Expectations and should.js, bringing that idiom to Python.\n\nIt supports assertions on numbers, strings, dictionaries, and collections, with methods like `.should.equal()`, `.should.have.key()`, and `.shouldnt.be.equal()` that chain together to form readable test conditions. The package has no runtime dependencies and works across Python 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11 on CPython and PyPy, though maintenance status is aging.","worth_installing":"Yes, with conditions. sure is stable and has no known vulnerabilities, making it safe to adopt. However, high install friction (source-only distribution) and aging maintenance mean it's best suited for projects where readable test syntax is a priority and you're comfortable with a library that receives infrequent updates. The GPLv3+ copyleft license requires careful review if your project uses a different license."},"id":"sure","links":{"html":"https://skillfed.io/packages/sure","md":"https://skillfed.io/packages/sure.md","pypi":"https://pypi.org/project/sure/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2023-02-06","license_spdx":null,"license_treatment":"copyleft","name":"sure","python_support":"unspecified","summary":"utility belt for automated testing in python for python"},"popularity":{"monthly_downloads":348843,"position":7338,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.1"}
