pytest-dash

Pytest plugin for Dash. Pytest-dash aims to ease automated testing of dash applications and components.

DEPRECATED

This repository is no longer maintained and its functionality has been merged into the main dash repo as dash.testing. Documentation: https://dash.plotly.com/testing

Install

Install with pip: $ pip install -U pytest-dash

Features

  • Fixtures to start Dash applications and closes them in teardown.
  • Declarative behavior test api in a yaml format.
  • Selenium wait for wrappers.

Documentation

For full documentation and examples, please see https://pytest-dash.readthedocs.io/en/latest/usage.html

More resources