- Notifications
You must be signed in to change notification settings - Fork2
3 Proven Ways To Test Your Flask Applications With Pytest
Pytest-with-Eric/pytest-flask-sqlalchemy-example
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains the example code for the article series on3 Proven Ways To Test Your Flask Applications With Pytest
To install the project, you need to have Poetry installed. If you don't have it installed, you can install it by following the instructionshere.
- Python 3.12
- Poetry
To run the server, use the following command:
$ poetry run python user_manager/app.py
This will spin up the server athttp://localhost:5000
To run the tests, use the following command:
$ poetry run pytest$ poetry run pytest --dburl=postgresql://myuser:mypassword@localhost:5433/mydatabase_test
Please follow further instructions on how to run the app in theblog post.
If you have any questions about the project please raise an Issue on GitHub.
About
3 Proven Ways To Test Your Flask Applications With Pytest
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.