--- id: robotframework-dependencylibrary version: "4.0.1" license: 0BSD (BSD Zero Clause License) license_treatment: permissive maintenance: dormant --- # robotframework-dependencylibrary — Declare dependencies between Robot Framework tests License: permissive · Maintenance: dormant · Downloads: 89.0K/mo ## 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 above — 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 pip install robotframework-dependencylibrary uv add robotframework-dependencylibrary poetry add robotframework-dependencylibrary ## Installing 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: unspecified - Install friction: low - Maintenance: dormant - Downloads: 89.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags robot framework test dependencies, test ordering and prerequisites, conditional test execution, robot framework test sequencing, dependent test management, test suite dependencies, skip tests on failure, test-orchestration, robot-framework-plugin [View on SkillFed](https://skillfed.io/packages/robotframework-dependencylibrary) · [View on PyPI](https://pypi.org/project/robotframework-dependencylibrary/)