Generic way to create meaningful and easy to use assertions for the Robot Framework libraries.
Actively maintained. Last release 6 months ago, commits in 24 of the last 26 weeks. A safe choice.
pip install robotframework-assertion-engineAssertion Engine
Generic way to create meaningful and easy to use assertions for the Robot Framework libraries. This tool is a spin off from the Browser library project, where the Assertion Engine was developed as part of that library.
Supported Assertions
Currently supported assertion operators are:
| Operator | Alternative Operators | Description | Validate Equivalent |
|---|---|---|---|
== | equal, equals, should be | Checks if returned value is equal to expected value. | value == expected |
!= | inequal, should not be | Checks if returned value is not equal to expected value. | value != expected |
> | greater than | Checks if returned value is greater than expected value. | value > expected |
>= | Checks if returned value is greater than or equal to expected value. | value >= expected | |
< | less than | Checks if returned value is less than expected value. | value < expected |
<= | Checks if returned value is less than or equal to expected value. | value <= expected | |
*= | contains | Checks if returned value contains expected value as substring. | expected in value |
| (no operator) | not contains |