
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
pytest-custom-scheduling
Advanced tools
Custom grouping for pytest-xdist, rename test cases name and test cases nodeid, support allure report
Rewrite pytest-xdist pytest_xdist_make_scheduler function, Modify load scheduling.
Support custom grouping.
Rename testcases name and testcases nodeid, support allure report.
Change testcases nodeid and testcases name encoding to UTF-8 and unicode escape
Format:
group_name::ids
pip install pytest-custom-scheduling
command line:pytest --switch={on:off} --rename={on:off} -n=auto
tip: pytest-xdist must be turned on
options:
Use {...}
as a marker custom grouping.
Support "{ filename::classname }" format for multi-level settings
.. code-block:: python
import pytest
@pytest.mark.parametrize("group",
["group_1", "group_2", "group_3", "group_4", "group_5", "group_6",
"group_7", "group_8", "group_9", "group_10", "group_11", "group_12"],
ids=["group_1{group_1}", "group_2{group_2}", "group_3{group_3}",
"group_4{group_4}", "group_5{group_5}", "group_6{group_6}",
"group_7{group_7}", "group_8{group_8}", "group_9{group_9}",
"group_10{group_10}", "group_11{group_11}", "group_12{group_12}"])
@pytest.mark.parametrize("group", ["group_4", "group_5", "group_6"],
ids=["group_4{group_5}", "group_5{group_5}", "group_6{group_5}"])
def test_05(group):
a = "hello"
b = "world"
assert a == b
cmd line: pytest --switch=on --rename=on -n=auto
FAQs
Custom grouping for pytest-xdist, rename test cases name and test cases nodeid, support allure report
We found that pytest-custom-scheduling demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.