robotframework-assertion-engine
Generic way to create meaningful and easy to use assertions for the Robot Framework libraries.
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; depends on robotframework and robotframework-pythonlibcore.
- Low install friction with a pure Python wheel distribution.
- Active maintenance with a recent commit on 2026-08-10 and a release on 2026-06-04.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
last release 2026-06-04 (71 days) · last repo commit 2026-08-10 · 14 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 786,381 downloads/mo, #5,065 on PyPI
Alternatives
Verify before relying
pip install robotframework-assertion-engine
from robotframework_assertion_engine import verify_assertion, AssertionOperator
value = "test string"
result = verify_assertion(value, AssertionOperator.EQUAL, "test string")- Whether the package is actively used in production Robot Framework libraries beyond the Browser library.
- Performance characteristics when handling large regex matches or complex validation chains.
- Availability of comprehensive documentation or examples beyond the GitHub repository.
What it is and 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.
Library 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
robotframework-assertion-engine on PyPI
Before you install
Low install friction with a pure Python wheel distribution. Active maintenance with a recent commit on 2026-08-10 and a release on 2026-06-04. Requires Python 3.10 or later.
Requires Python 3.10 or later; depends on robotframework and robotframework-pythonlibcore.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install robotframework-assertion-engine
from robotframework_assertion_engine import verify_assertion, AssertionOperator
value = "test string"
result = verify_assertion(value, AssertionOperator.EQUAL, "test string")
Verify before relying
- Whether the package is actively used in production Robot Framework libraries beyond the Browser library.
- Performance characteristics when handling large regex matches or complex validation chains.
- Availability of comprehensive documentation or examples beyond the GitHub repository.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesrobotframeworkrobotframework-pythonlibcore |
| Maintenance | Actively maintained 71 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 786,381 / month, #5,065 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: robotframework_assertion_engine-5.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “robot framework assertions”
- robotframework-assertion-engineProvides a standardized assertion engine for Robot Framework…
- robotframework-jsonlibraryA Robot Framework library for querying, adding, updating, and…
- robotframework-requestsRequestsLibrary wraps the Python Requests library to provide HTTP API…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also robotframework-databaselibrary · robotframework-seleniumlibrary · robotframework-jsonlibrary · robotframework-browser · sure · RESTinstance · robotframework-stacktrace · robotframework · robotframework-robocop · robotframework-excellib