{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Provides a standardized assertion engine for Robot Framework libraries, enabling inline validation with operators like equality, comparison, regex matching, and custom Python expressions.","skillfed_tags":["robot-framework","testing-library","assertion-framework"],"use_cases":["Developing Robot Framework libraries that need consistent, reusable assertion syntax across multiple keywords.","Extracting and validating data from pages or APIs using regex groups and named capture groups.","Implementing custom validation logic in Robot Framework keywords using Python expressions.","Normalizing and comparing values with formatters like case-insensitive or whitespace-normalized matching.","Building test libraries that support multiple assertion operators without duplicating validation code."],"what_it_does":"The Assertion Engine is a utility library for Robot Framework that abstracts assertion logic into a reusable component. It was originally developed as part of the Browser library and extracted as a standalone tool for use by other Robot Framework library developers. The package provides a `verify_assertion` method that accepts a value, an assertion operator (such as `==`, `!=`, `>`, `*=`, regex `matches`, or custom Python `validate` expressions), and an expected value, then performs the validation and returns results or raises errors accordingly.\n\nLibrary developers integrate this by calling `verify_assertion` within their keyword methods to perform inline assertions without reimplementing validation logic. The engine supports multiple assertion operators covering equality, comparison, substring matching, regex extraction with optional group capture (returning strings, tuples, or dictionaries), and custom Python expression evaluation. It also provides a formatter interface for preprocessing values (normalize spaces, strip, case insensitive) and allows custom error messages with optional prefixes.","worth_installing":"Yes, if you are developing Robot Framework libraries and want to standardize assertion behavior across keywords. The package is actively maintained, has no known vulnerabilities, uses a permissive license, and has low install friction. It is most valuable for library developers rather than end-user test writers, as it is a building block for other libraries."},"id":"robotframework-assertion-engine","links":{"html":"https://skillfed.io/packages/robotframework-assertion-engine","md":"https://skillfed.io/packages/robotframework-assertion-engine.md","pypi":"https://pypi.org/project/robotframework-assertion-engine/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-04","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"robotframework-assertion-engine","python_support":"supports_current","summary":"Generic way to create meaningful and easy to use assertions for the Robot Framework libraries."},"popularity":{"monthly_downloads":786381,"position":5065,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.0.1"}
