summaryrefslogtreecommitdiffstats
path: root/library/python/pytest
Commit message (Collapse)AuthorAgeFilesLines
* Intermediate changesrobot-piglet5 days1-1/+1
| | | | commit_hash:2bc5ec4168daac56ff2c51bcd7a7db66389846fa
* Intermediate changesrobot-piglet2026-05-081-3/+15
| | | | commit_hash:9b6bd8ea4bc3ae7df2576daf77c181b20f7cd869
* feat pytest: clean up CONFTEST_LOAD_POLICY_LOCAL implementationantonyzhilin2026-03-183-90/+96
| | | | | | | | | * Add docs for `CONFTEST_LOAD_POLICY_LOCAL` and `CONFTEST_LOAD_POLICY_LEGACY_GLOBAL` * Use `ya_` prefixes for custom fields of `LoadedModule` to differentiate from fields used by pytest * Clean up `LoadedModule.__init__` parameters * Move resfs modules lookup from `main.py` to `collection.py` to gather module name lookup and loading in the same place * Turn `collection.py` into a plugin instead of using a class plugin. As a benefit, it is now displayed as `library.python.pytest.plugins.collection` in the plugin list (previously it was displayed as `<unnamed plugin>`) commit_hash:be61134f075fbc9b645cc98635ab33fe7bf8a979
* feat pytest: partially enable behavior of CONFTEST_LOAD_POLICY_LOCAL for ↵antonyzhilin2026-03-1717-116/+315
| | | | | | | | | | all tests 1. `module_node.path` (py3) or `fspath` (py2) are now always in the form `yatest.common.source_path("path/from/repo/root/to/my_test.py")` instead of the previous `partial.path.to.my_test.py` 2. `module_node.nodeid` is now always in the form `path/from/repo/root/to/my_test.py` instead of the previous `partial.path.to.my_test.py` 3. `module_node.name` was also changed to `path/from/repo/root/to/my_test.py`. But it is not recommended to specialize on that, it may change again shortly in the future 4. Refactorings, simplifications and unifications in `library/python/pytest` commit_hash:8a5b4951208a034f94231b2f799eb0c32a6d787d
* ya tool black release 8robot-contrib2026-03-075-5/+0
| | | | | #| || **<a href="https://nda.ya.ru/t/NmXL8DSH7W8pjd" target="_blank">![](https://nda.ya.ru/t/mAiQIjHx7Mm3JC =30x) Echo tests</a>** || |# commit_hash:595f1e5ce2f0b1215088b7c8d2b79f07955f9a4b
* Intermediate changesrobot-piglet2026-03-033-4/+10
| | | | commit_hash:85afa7bf1a79b5728ecd004afa11afa9a603f9ea
* Intermediate changesrobot-piglet2026-02-211-2/+23
| | | | commit_hash:54f16047733a82cb580800a174cf6bebdac05da4
* Intermediate changesrobot-piglet2026-02-066-3/+36
| | | | commit_hash:525c32eb93ddaea7b409248280f0871fb5fd788d
* Intermediate changesrobot-piglet2026-02-0524-119/+568
| | | | commit_hash:e6d634bd59f23a5fa99d8c54932926f775dab895
* Intermediate changesrobot-piglet2025-12-031-2/+56
| | | | commit_hash:66bd18a3c1623dcc936f3730fc39699bd39c018c
* Run tests in parallel within nodebulatman2025-11-171-9/+22
| | | | | Support `PARALLEL_TESTS_WITHIN_NODE(X)` for pytest commit_hash:b515a9f8f27172b546f92415835a8d6c9070d073
* Intermediate changesrobot-piglet2025-09-021-1/+3
| | | | commit_hash:3226aa9d9f0af82e14a84916ce0f450ded26504f
* Intermediate changesrobot-piglet2025-08-281-1/+1
| | | | commit_hash:7cb1b858db9e1e66d33dcb3808a3ad884bd1c5b5
* Intermediate changesrobot-piglet2025-05-052-2/+13
| | | | commit_hash:8b3bb826b17db8329ed1221f545c0645f12c552d
* Intermediate changesrobot-piglet2025-04-251-1/+3
| | | | commit_hash:4d256df3cba483ed480b07058d40dc2771082b86
* Intermediate changesrobot-piglet2024-12-111-5/+17
| | | | commit_hash:a633306b66f89adbf188bf9c6d521bdf7b01f82f
* Intermediate changesrobot-piglet2024-11-071-1/+1
| | | | commit_hash:8dfe46ba3b02673d0e6a35fdf824ab2c98255393
* Intermediate changesrobot-piglet2024-09-041-0/+4
|
* Intermediate changesrobot-piglet2024-05-181-1/+18
|
* Intermediate changesrobot-piglet2023-11-291-1/+1
|
* Intermediate changesrobot-piglet2023-11-291-1/+2
|
* [library/python/pytest/plugins] Suppress PLR1727prettyboy2023-09-251-2/+2
|
* [library/python] Fix some style testsprettyboy2023-09-224-4/+12
| | | | см https://a.yandex-team.ru/review/4511498/details?checkId=29700000007055&dialogId=CiCard&filter=resultType%28RT_STYLE_CHECK%29%3BsuiteCategory%28CATEGORY_CHANGED%29&iterationType=FULL&number=1&openedItems=955241967903872625%3ART_STYLE_SUITE_CHECK%2C12143061788616128922%3ART_STYLE_SUITE_CHECK%2C8023375544570871616%3ART_STYLE_SUITE_CHECK%2C10700057700434354061%3ART_STYLE_SUITE_CHECK%2C10919096887128703016%3ART_STYLE_SUITE_CHECK%2C8720280302786645361%3ART_STYLE_SUITE_CHECK%2C16643406941049220442%3ART_STYLE_SUITE_CHECK%2C12501056625690179524%3ART_STYLE_SUITE_CHECK&snippetViewMode=word-wrap&status=STATUS_FAILED
* Increase max metric name lengthiaz16072023-09-131-1/+1
|
* [library/python/pytest/plugins/ya] Limit snippet size up to 8kbprettyboy2023-09-071-1/+5
|
* Remove unused codeshadchin2023-08-261-57/+0
|
* Remove excessive PEERDIR to contrib/python/requeststhegeorg2023-08-251-1/+0
| | | | contrib/python/requests/py2 depends on LGPL-licensed chardet module, we do not want this.
* Fix some style issues in library/python/pytestthegeorg2023-08-244-28/+91
| | | | | | | | Two issues remain unfixed: ``` [fail] library/python/pytest/rewrite.py:96: [PLW0122] Use of exec (exec-used) [fail] library/python/pytest/yatest_tools.py:49: [F821] undefined name 'unicode' ```
* Update contrib/python/pytest/py3 to 7.3.2robot-contrib2023-08-031-0/+1
|
* add ymake export to ydbalexv-smirnov2023-06-133-0/+82
|
* Revert commit rXXXXXX (Preserve tests order when splitting by chunks)somov2023-05-241-17/+2
|
* Preserve tests order when splitting by chunkssomov2023-05-231-2/+17
|
* Revert ymake build from ydb oss exportalexv-smirnov2023-03-283-82/+0
|
* add library/cpp/actors, ymake build to ydb oss exportalexv-smirnov2023-03-153-0/+82
|
* Fix pytest -kiaz16072023-02-221-0/+1
|
* fix pyrest.mark.trylast in ya,pynik-bes2023-02-221-1/+1
|
* replace pytest.mark.tryfirst in ya.py pluginnik-bes2023-02-171-1/+1
| | | https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
* Refactor library/python/pytest and library/python/testingromakudlakov2023-02-101-2/+0
| | | Remove test-started/test-finished events generator in pytest_runner
* Add path to trace messageromakudlakov2023-02-091-17/+28
| | | Add path to test_item
* [library/python/pytest/plugins/ya] Added xfaildiff markerprettyboy2023-01-241-6/+17
|
* Add assert to check empty entryromakudlakov2023-01-241-1/+2
| | | Add assert that entry is not empty
* [library/python/pytest] Better py3 colorizationprettyboy2023-01-209-12/+130
|
* [library/python/pytest/yatest_tools] Fixed unify_path for path that fully ↵prettyboy2023-01-202-1/+4
| | | | matches module name
* Fix good results contain empty commentromakudlakov2022-12-271-4/+1
| | | Fix comment for good results
* [library/python/pytest/yatest_tools] Fixed module discovering for tests with ↵prettyboy2022-12-223-24/+116
| | | | CONFTEST_LOAD_POLICY_LOCAL()
* added static credentials man + fix linksasmyasnikov2022-12-211-10/+25
| | | added static credentials man + fix links
* [library/python/pytest/plugins] Report pytest_startup_duration as chunk ↵prettyboy2022-12-101-1/+1
| | | | event, not suite
* yatest_common context file testqrort2022-11-174-11/+24
|
* Unify test listing and filteringsay2022-10-272-3/+82
|
* [library/python/testing/yatest_common] Relaxed runtime methods for ↵prettyboy2022-09-251-2/+0
| | | | non-standalone runs