- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,171 for testis (0.17 sec)
-
tests/tests_test.go
package tests_test import ( "log" "math/rand" "os" "path/filepath" "time" "gorm.io/driver/mysql" "gorm.io/driver/postgres" "gorm.io/driver/sqlite" "gorm.io/driver/sqlserver" "gorm.io/gorm" "gorm.io/gorm/logger" . "gorm.io/gorm/utils/tests" ) var DB *gorm.DB var ( mysqlDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 3.3K bytes - Viewed (1) -
.github/workflows/tests.yml
Others - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Jan 29 02:34:20 GMT 2024 - 6.6K 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/de/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── 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
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/en/docs/advanced/async-tests.md
{!../../../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) -
docs/de/docs/tutorial/testing.md
!!! tip "Tipp" Wenn Sie in Ihren Tests neben dem Senden von Anfragen an Ihre FastAPI-Anwendung auch `async`-Funktionen aufrufen möchten (z. B. asynchrone Datenbankfunktionen), werfen Sie einen Blick auf die [Async-Tests](../advanced/async-tests.md){.internal-link target=_blank} im Handbuch für fortgeschrittene Benutzer. ## Tests separieren In einer echten Anwendung würden Sie Ihre Tests wahrscheinlich in einer anderen Datei haben.
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) -
tests/test_tutorial/test_sql_databases/test_testing_databases.py
@needs_pydanticv1 def test_testing_dbs(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover test_db.unlink() # Import while creating the client to create the DB after starting the test session
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 788 bytes - Viewed (0) -
.cm/lacks_tests.cm
on: - pr_created - commit - comment_added automations: # If a PR contains non-trivial source changes and no tests, add a comment to the PR lacks_tests: if: - {{ ('lacks_tests' | isEnabledAutomation(pr)) }} - {{ includes_src_changes }} - {{ not (includes_test_changes) }} - {{ not (is_docs_only_change) }} - {{ not (is_formatting_only_change) }} run: - action: add-label@v1
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 2.4K bytes - Viewed (0) -
docs/en/docs/advanced/testing-database.md
You could want to set up a different database for testing, rollback the data after the tests, pre-fill it with some testing data, etc. The main idea is exactly the same you saw in that previous chapter. ## Add tests for the SQL app
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) -
src/main/resources/fess_indices/fess/es/stopwords.txt
tuyos tuyas suyo suya suyos suyas nuestro nuestra nuestros nuestras vuestro vuestra vuestros vuestras esos esas estoy estás está estamos estáis están esté estés estemos estéis estén estaré estarás estará estaremos estaréis estarán estaría estarías estaríamos estaríais estarían estaba estabas
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Mon Nov 27 12:59:36 GMT 2023 - 2.2K bytes - Viewed (0)