- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for Tests (0.18 sec)
-
requirements-tests.txt
-e .[all] -r requirements-docs-tests.txt pytest >=7.1.3,<8.0.0 coverage[toml] >= 6.5.0,< 8.0 mypy ==1.8.0 ruff ==0.2.0 dirty-equals ==0.6.0 # TODO: once removing databases from tutorial, upgrade SQLAlchemy # probably when including SQLModel sqlalchemy >=1.3.18,<1.4.43 databases[sqlite] >=0.3.2,<0.7.0 flask >=1.1.2,<3.0.0 anyio[trio] >=3.2.1,<4.0.0 python-jose[cryptography] >=3.3.0,<4.0.0 pyyaml >=5.3.1,<7.0.0 passlib[bcrypt] >=1.7.2,<2.0.0
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 23:48:42 GMT 2024 - 496 bytes - Viewed (0) -
docs/de/docs/advanced/async-tests.md
│ └── test_main.py ``` Die Datei `main.py` hätte als Inhalt: ```Python {!../../../docs_src/async_tests/main.py!} ``` Die Datei `test_main.py` hätte die Tests für `main.py`, das könnte jetzt so aussehen: ```Python {!../../../docs_src/async_tests/test_main.py!} ``` ## Es ausführen Sie können Ihre Tests wie gewohnt ausführen mit: <div class="termy"> ```console $ pytest ---> 100% ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:25:57 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/em/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 📁 `main.py` 🔜 ✔️: ```Python {!../../../docs_src/async_tests/main.py!} ``` 📁 `test_main.py` 🔜 ✔️ 💯 `main.py`, ⚫️ 💪 👀 💖 👉 🔜: ```Python {!../../../docs_src/async_tests/test_main.py!} ``` ## 🏃 ⚫️ 👆 💪 🏃 👆 💯 🐌 📨: <div class="termy"> ```console $ pytest ---> 100% ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 3K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
│ └── test_main.py ``` The file `main.py` would have: ```Python {!../../../docs_src/async_tests/main.py!} ``` The file `test_main.py` would have the tests for `main.py`, it could look like this now: ```Python {!../../../docs_src/async_tests/test_main.py!} ``` ## Run it You can run your tests as usual via: <div class="termy"> ```console $ pytest ---> 100% ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:07:15 GMT 2024 - 3.9K bytes - Viewed (0) -
requirements-docs-tests.txt
# For mkdocstrings and tests
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 52 bytes - Viewed (0) -
docs/en/docs/advanced/testing-database.md
In this example we'll create a temporary database only for the tests. ## File structure We create a new file at `sql_app/tests/test_sql_app.py`. So the new file structure looks like: ``` hl_lines="9-11" . └── sql_app ├── __init__.py ├── crud.py ├── database.py ├── main.py ├── models.py ├── schemas.py └── tests ├── __init__.py └── test_sql_app.py ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.5K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
!!! tip If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} in the advanced tutorial. ## Separating tests In a real application, you probably would have your tests in a different file.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/en/docs/deployment/versions.md
## Upgrading the FastAPI versions You should add tests for your app. With **FastAPI** it's very easy (thanks to Starlette), check the docs: [Testing](../tutorial/testing.md){.internal-link target=_blank} After you have tests, then you can upgrade the **FastAPI** version to a more recent one, and make sure that all your code is working correctly by running your tests.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Nov 05 20:50:37 GMT 2020 - 3.3K bytes - Viewed (0) -
docs/fr/docs/deployment/versions.md
Après avoir effectué des tests, vous pouvez mettre à jour la version **FastAPI** vers une version plus récente, et vous assurer que tout votre code fonctionne correctement en exécutant vos tests. Si tout fonctionne, ou après avoir fait les changements nécessaires, et que tous vos tests passent, vous pouvez épingler votre version de `fastapi` à cette nouvelle version récente.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Oct 31 17:39:54 GMT 2022 - 4K bytes - Viewed (0) -
docs/fr/docs/project-generation.md
* *Worker* **Celery** pouvant importer et utiliser les modèles et le code du reste du backend.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 02 14:18:06 GMT 2021 - 6.7K bytes - Viewed (0)