- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for testChain (0.12 sec)
-
docs/pt/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` O arquivo `main.py` teria: {* ../../docs_src/async_tests/main.py *} O arquivo `test_main.py` teria os testes para para o arquivo `main.py`, ele poderia ficar assim: {* ../../docs_src/async_tests/test_main.py *} ## Executá-lo Você pode executar os seus testes normalmente via: <div class="termy">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/ru/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Файл `main.py`: {* ../../docs_src/async_tests/main.py *} Файл `test_main.py` содержит тесты для `main.py`, теперь он может выглядеть так: {* ../../docs_src/async_tests/test_main.py *} ## Запуск тестов Вы можете запустить свои тесты как обычно: <div class="termy">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Jan 27 15:36:13 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/testing.md
{* ../../docs_src/app_testing/main.py *} ### Arquivo de teste Então você poderia ter um arquivo `test_main.py` com seus testes. Ele poderia estar no mesmo pacote Python (o mesmo diretório com um arquivo `__init__.py`): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/es/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` El archivo `main.py` tendría: {* ../../docs_src/async_tests/main.py *} El archivo `test_main.py` tendría los tests para `main.py`, podría verse así ahora: {* ../../docs_src/async_tests/test_main.py *} ## Ejecútalo Puedes ejecutar tus tests como de costumbre vía: <div class="termy">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4K bytes - Viewed (0) -
docs/uk/docs/tutorial/testing.md
{* ../../docs_src/app_testing/main.py *} ### Файл тестування Ви можете створити файл `test_main.py` з Вашими тестами. Він може знаходитися в тому ж пакеті Python (у тій самій директорії з файлом `__init__.py`): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 28 14:12:19 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
{* ../../docs_src/app_testing/main.py *} ### Testing file { #testing-file } Then you could have a file `test_main.py` with your tests. It could live on the same Python package (the same directory with a `__init__.py` file): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/testing.md
### 테스트 파일 테스트를 위해 `test_main.py` 라는 파일을 생성할 수 있습니다. 이 파일은 동일한 Python 패키지(즉, `__init__.py` 파일이 있는 동일한 디렉터리)에 위치할 수 있습니다. ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 파일들이 동일한 패키지에 위치해 있으므로, 상대 참조를 사용하여 `main` 에서 `app` 객체를 임포트 해올 수 있습니다. {* ../../docs_src/app_testing/test_main.py hl[3] *} ...그리고 이전에 작성했던 것과 같은 테스트 코드를 작성할 수 있습니다.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 10 11:24:48 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/zh/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 文件 `main.py` 将包含: {* ../../docs_src/async_tests/main.py *} 文件 `test_main.py` 将包含针对 `main.py` 的测试,现在它可能看起来如下: {* ../../docs_src/async_tests/test_main.py *} ## 运行测试 您可以通过以下方式照常运行测试: <div class="termy"> ```console $ pytest ---> 100% ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 17 21:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/testing.md
### **FastAPI** アプリファイル **FastAPI** アプリに `main.py` ファイルがあるとします: {* ../../docs_src/app_testing/main.py *} ### テストファイル 次に、テストを含む `test_main.py` ファイルを作成し、`main` モジュール (`main.py`) から `app` をインポートします: {* ../../docs_src/app_testing/test_main.py *} ## テスト: 例の拡張 次に、この例を拡張し、詳細を追加して、さまざまなパーツをテストする方法を確認しましょう。 ### 拡張版 **FastAPI** アプリファイル **FastAPI** アプリに `main_b.py` ファイルがあるとします。
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/ko/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` `main.py`는 아래와 같아야 합니다: {* ../../docs_src/async_tests/main.py *} `test_main.py` 파일은 `main.py`에 대한 테스트가 있을 텐데, 다음과 같을 수 있습니다: {* ../../docs_src/async_tests/test_main.py *} ## 실행하기 아래의 명령어로 테스트 코드를 실행합니다: <div class="termy"> ```console $ pytest ---> 100%
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 10 11:03:16 UTC 2024 - 4.7K bytes - Viewed (0)