Skip to content

rst515/dash-test-e2e

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plotly dash logo

Testing in Plotly Dash

This repo contains examples of testing in Plotly Dash.
For more information see https://dash.plotly.com/testing

Unit tests - for testing callbacks

Location:
/tests/test_unit
Run with:
python -m pytest tests/test_unit

E2E tests - for testing the app

End-to-end tests run programmatically, start a real browser session, and click through the Dash app UI. They are slower to run than unit tests and more complex to set up but more closely mimic the end user's experience.

Install ChromeDriver for testing your website on desktop (Windows/Mac/Linux).

Location:
/tests/test_e2e
Run with:
python -m pytest tests/test_e2e

Note: some assertions may fail (e.g. the test for browser console errors).

About

Example of unit and end-to-end testing in a Plotly dash app.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages