pytest-flask

A set of pytest fixtures to test Flask applications (by pytest-dev)

Pytest-flask Alternatives

Similar projects and alternatives to pytest-flask based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pytest-flask alternative or higher similarity.

pytest-flask reviews and mentions

Posts with mentions or reviews of pytest-flask. We have used some of these posts to build our list of alternatives and similar projects.
  • Python: pytest accessing Flask session and request context variables.
    1 project | dev.to | 18 Aug 2022
    @pytest.fixture(scope='module') def test_client( app ): """ Creates a test client. app.test_client() is able to submit HTTP requests. The app argument is the app() fixture above. """ with app.test_client() as testing_client: """ See: https://github.com/pytest-dev/pytest-flask/issues/69 Sessions are empty when testing #69 """ with testing_client.session_transaction() as session: session['Authorization'] = 'redacted' yield testing_client # Return to caller.

Stats

Basic pytest-flask repo stats
1
473
7.3
18 days ago

pytest-dev/pytest-flask is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of pytest-flask is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com