Skip to content

Document how to test with PyTest #5332

@svnv-svsv-jm

Description

@svnv-svsv-jm

Describe the Enhancement you want
A clear and concise description of what the improvement does.

  • Which feature do you want to improve? (and what problem does it have)
    Documentation.

  • What is the benefit of the enhancement?
    Document how one could write automated tests for reflex using PyTest. This would enormously benefit developers who rely on automated tests for their work.

Additional context
Automated tests are mandatory for PROD work. Currently, there is no recommended way to write them for reflex, meaning I can only create a very small UI for personal demos and fun. No way I am going to (only) run the app in a terminal, then automate UI interactions, etc.

We need a PyTest-able way to do so, that would also affect coverage, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAnything you want improved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions