robotframework-dependencylibrary
Declare dependencies between Robot Framework tests
What it is and what it does
DependencyLibrary is a Robot Framework extension that lets you declare when one test depends on another test or suite passing. Instead of tests failing redundantly or running in the wrong order, you use keywords like `Depends on test` to mark prerequisites; if a dependency fails or is skipped, the dependent test is automatically skipped with a clear message rather than running and failing again.
The library handles three scenarios: when a dependency passes, the dependent test runs normally; when a dependency fails or is skipped, the dependent test is skipped with a message explaining why; and when you reference a test that doesn't exist or hasn't run yet, the library warns you. It works within a single test file by default, and across files when you run Robot Framework with `--listener DependencyLibrary` or include the library in each file's settings.
Use it for:
- Skip integration tests when their setup test fails, avoiding cascading false failures in test reports
- Run tests in a required sequence where later tests depend on state set up by earlier ones
- Depend on an entire test suite passing before running a downstream suite of tests
- Catch mistakes in test dependencies with warnings when you reference non-existent or self-referential tests
- Make test suites more readable by explicitly declaring which tests must pass before others run
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Declares and enforces dependencies between Robot Framework tests, allowing tests to skip or fail gracefully when their prerequisites don't pass.
Yes, if you use Robot Framework and have tests with explicit sequential or state dependencies. The library is stable and permissively licensed, with low install friction. The main caveat is dormant maintenance—last release was 2023-03-23—so verify compatibility with your robotframework version before adopting it in new projects.
Install
robotframework-dependencylibrary on PyPI
pip
pip install robotframework-dependencylibraryuv
uv add robotframework-dependencylibrarypoetry
poetry add robotframework-dependencylibraryInstalling robotframework-dependencylibrary
Before you install
Low install friction with a single runtime dependency on robotframework. Maintenance is dormant—last release was 2023-03-23, though the repository remains active and the library is marked Production/Stable.
License in practice
Licensed under 0BSD (BSD Zero Clause License), a permissive license with no restrictions on use, modification, or distribution.
Quickstart
pip install robotframework-dependencylibrary
# In your Robot Framework test file:
*** Settings ***
Library DependencyLibrary
*** Test Cases ***
First Test
No operation
Second Test
Depends on test First Test
Log This runs only if First Test passed
Requires robotframework to be installed; to depend on tests or suites from other files, run Robot Framework with --listener DependencyLibrary or include DependencyLibrary in those files' Settings.
Verify before relying
- Whether the library works with current robotframework versions given the last release was 2023-03-23
- Support status for Python 2, which is end-of-life, given classifiers list both Python 2 and 3
Package facts
| License | 0BSD (BSD Zero Clause License) (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — robotframework |
| Maintenance | dormant — 1,240 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,950/month — #13,691 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: robotframework_dependencylibrary-4.0.1-py2.py3-none-any.whl
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
robotframework-seleniumlibrarySeleniumLibrary is a Robot Framework library…
permissive · top 5,000 on PyPI
robotframework-retryfailedA Robot Framework listener that automatically…
permissive · top 15,000 on PyPI
robotframework-pabotPabot splits Robot Framework test execution…
permissive · top 5,000 on PyPI
robotframework-debuglibraryProvides an interactive debug shell and library…
permissive · top 15,000 on PyPI
robotframework-databaselibraryA Robot Framework library that adds keywords…
permissive · top 15,000 on PyPI
robotframework-appiumlibraryAppiumLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
robotframework-selenium2libraryA Robot Framework library that wraps Selenium…
permissive · top 15,000 on PyPI
robotframework-sshlibraryA Robot Framework test library for executing…
permissive · top 15,000 on PyPI
robotframework-whitelibraryWhiteLibrary automates Windows GUI testing for…
permissive · top 15,000 on PyPI
pytest-dependsA pytest plugin that lets you declare…
permissive · top 15,000 on PyPI