pyATS Results is a core component of the Cisco pyATS framework, providing an object-oriented API for representing and managing test execution results such as Pass, Fail, Warn, Error, and others. It ensures consistent handling and reporting across various test scenarios within the pyATS ecosystem. As of version 26.3, it is actively maintained with frequent releases aligned with the broader pyATS framework, typically on a monthly cadence.
pip install pyats-resultsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to instantiate and use `pyats.results` objects to represent different test outcomes. It shows creating specific result types like `Pass` and `Fail`, as well as using the base `Result` class to explicitly set a state like 'Blocked' or 'Warning'.
Always install or upgrade all `pyats` related packages together. The recommended approach is to `pip install pyats` which pulls compatible dependencies, or explicitly specify versions consistent with the official pyATS release notes.
Use the dedicated result classes (`Pass`, `Fail`, `Warn`, `Error`, etc.) when possible, or ensure direct assignments to `result.state` strictly adhere to the official pyATS result state strings, including capitalization. Refer to pyATS documentation for the full list of valid states.
No dependency data recorded yet.