Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for MyTest (0.17 sec)

  1. mockwebserver-junit5/README.md

    method parameter. It will be shut down automatically after the test runs.
    
    ```
    class MyTest {
      @Test
      void test(MockWebServer server) {
        ...
      }
    }
    ```
    
    Alternately you may add the [MockWebServer] as a constructor parameter:
    
    ```
    class MyTest {
      private final MockWebServer server;
    
      MyTest(MockWebServer server) {
        this.server = server;
      }
    
      @Test
      void test() {
        ...
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/testing.md

    ## Запуск тестов
    
    Далее Вам нужно установить `pytest`:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    Он автоматически найдёт все файлы и тесты, выполнит их и предоставит Вам отчёт о результатах тестирования.
    
    Запустите тесты командой `pytest` и увидите результат:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/async-tests.md

    ```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>
    
    ## In Detail
    
    The marker `@pytest.mark.anyio` tells pytest that this test function should be called asynchronously:
    
    ```Python hl_lines="7"
    {!../../../docs_src/async_tests/test_main.py!}
    ```
    
    !!! tip
    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)
  4. docs/tr/docs/project-generation.md

    * **Alembic** migration.
    * **CORS** (Cross Origin Resource Sharing).
    * **Celery** worker'ları ile backend içerisinden seçilen işleri çalıştırabilirsiniz.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:55:41 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. docs/ru/docs/project-generation.md

    * **CORS** (Совместное использование ресурсов из разных источников).
    * **Celery**, процессы которого могут выборочно импортировать и использовать модели и код из остальной части бэкенда.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 13 18:00:47 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  6. docs/ja/docs/project-generation.md

    * 基本的なユーザーモデル (任意の修正や削除が可能)。
    * **Alembic** マイグレーション。
    * **CORS** (Cross Origin Resource Sharing (オリジン間リソース共有))。
    * **Celery** ワーカー。バックエンドの残りの部分からモデルとコードを選択的にインポートし、使用可能。
    * Dockerと統合された**Pytest**ベースのRESTバックエンドテスト。データベースに依存せずに、全てのAPIをテスト可能。Docker上で動作するので、毎回ゼロから新たなデータストアを構築可能。(ElasticSearch、MongoDB、CouchDBなどを使用して、APIの動作をテスト可能)
    * Atom HydrogenやVisual Studio Code Jupyterなどの拡張機能を使用した、リモートまたはDocker開発用の**Jupyterカーネル**との簡単なPython統合。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Oct 18 05:47:45 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/testing.md

    ## Tests ausführen
    
    Danach müssen Sie nur noch `pytest` installieren:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    Es erkennt die Dateien und Tests automatisch, führt sie aus und berichtet Ihnen die Ergebnisse.
    
    Führen Sie die Tests aus, mit:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:20:01 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. docs/en/docs/project-generation.md

    - 🐋 [Docker Compose](https://www.docker.com) for development and production.
    - 🔒 Secure password hashing by default.
    - 🔑 JWT token authentication.
    - 📫 Email based password recovery.
    - ✅ Tests with [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) as a reverse proxy / load balancer.
    - 🚢 Deployment instructions using Docker Compose, including how to set up a frontend Traefik proxy to handle automatic HTTPS certificates.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 21:12:21 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. 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)
  10. docs/tr/docs/index.md

    * Diğer ekstra özellikler (Starlette sayesinde):
        * **WebSocketler**
        * HTTPX ve `pytest` sayesinde aşırı kolay testler.
        * **CORS**
        * **Cookie Sessions**
        * ...ve daha fazlası.
    
    ## Performans
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
Back to top