Registry / testing / robotframework-dependencylibrary

robotframework-dependencylibrary

JSON →
library4.0.1pypypiunverified

Robot Framework test library for declaring dependencies between test cases and suites, enabling sequential execution and skipping of dependent tests when prerequisites fail. Latest version 4.0.1, active development with infrequent releases.

pip install robotframework-dependencylibrary
INSTALL
IMPORT
SIG · ROBOTFRAMEWORK-DEP
R
robotframework-dependencylibrary
testingpythonv4.0.1
Install
2.0s avg
Import
Disk
22MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v4.0.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 23.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.0s · import 0.000s · 24MB
22MB installed
● package 22MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DependencyLibrary
from DependencyLibrary import DependencyLibrary
from DependencyLibrary import DependencyLibrary

Require other tests by their exact name. The dependent test is skipped if any required test failed or was skipped.

*** Settings *** Library DependencyLibrary *** Variables *** @{REQUIRED_TESTS} Login NavigateToSettings *** Test Cases *** Dependent Test [Tags] integration Require Tests @{REQUIRED_TESTS} Log This test runs only if Login and NavigateToSettings passed.
Debug
Known issues
gotchaTest names are case-sensitive and must match the Robot Framework test case name exactly (including spaces).
fix
Ensure the test name string matches the Robot Framework test case name exactly (including spaces and case).
affects: all
gotchaRequire Tests only works within the same robot execution session; dependencies do not persist across runs or reruns via Rebot.
fix
Run all dependent tests in a single robot invocation, or redesign to use suite-level dependencies with Require Suites.
affects: all
deprecatedThe keyword 'Require Tests From File' and 'Require Suites From File' are deprecated in version 4.0.0+ due to unreliable file parsing.
fix
Use the programmatic keywords Require Tests and Require Suites with the list of names hardcoded or loaded from variables.
affects: >=4.0.0
Upgrade
Version history
4.0.1latest on PyPI · released Mar 23, 2023
Audit
Dependencies
robotframeworkrequiredRuntime dependency: the library works as a Robot Framework test library
Agent activity
17 hits · last 30 days
node
16
Resources
robotframework-dependencylibrary — pip install robotframework-dependencylibrary · libregistry