mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
build(dev): add pytest-randomly dependency
By randomizing the test execution order, this helps identify tests that unintentionally depend on shared state or specific execution order, which can lead to flaky or unreliable test behavior.
This commit is contained in:
@@ -85,6 +85,7 @@ dev-dependencies = [
|
|||||||
"pytest-asyncio>=0.23.7",
|
"pytest-asyncio>=0.23.7",
|
||||||
"pytest-subprocess>=1.5.2",
|
"pytest-subprocess>=1.5.2",
|
||||||
"pytest-recording>=0.13.2",
|
"pytest-recording>=0.13.2",
|
||||||
|
"pytest-randomly>=3.16.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
|
|||||||
14
uv.lock
generated
14
uv.lock
generated
@@ -811,6 +811,7 @@ dev = [
|
|||||||
{ name = "pre-commit" },
|
{ name = "pre-commit" },
|
||||||
{ name = "pytest" },
|
{ name = "pytest" },
|
||||||
{ name = "pytest-asyncio" },
|
{ name = "pytest-asyncio" },
|
||||||
|
{ name = "pytest-randomly" },
|
||||||
{ name = "pytest-recording" },
|
{ name = "pytest-recording" },
|
||||||
{ name = "pytest-subprocess" },
|
{ name = "pytest-subprocess" },
|
||||||
{ name = "python-dotenv" },
|
{ name = "python-dotenv" },
|
||||||
@@ -867,6 +868,7 @@ dev = [
|
|||||||
{ name = "pre-commit", specifier = ">=3.6.0" },
|
{ name = "pre-commit", specifier = ">=3.6.0" },
|
||||||
{ name = "pytest", specifier = ">=8.0.0" },
|
{ name = "pytest", specifier = ">=8.0.0" },
|
||||||
{ name = "pytest-asyncio", specifier = ">=0.23.7" },
|
{ name = "pytest-asyncio", specifier = ">=0.23.7" },
|
||||||
|
{ name = "pytest-randomly", specifier = ">=3.16.0" },
|
||||||
{ name = "pytest-recording", specifier = ">=0.13.2" },
|
{ name = "pytest-recording", specifier = ">=0.13.2" },
|
||||||
{ name = "pytest-subprocess", specifier = ">=1.5.2" },
|
{ name = "pytest-subprocess", specifier = ">=1.5.2" },
|
||||||
{ name = "python-dotenv", specifier = ">=1.0.0" },
|
{ name = "python-dotenv", specifier = ">=1.0.0" },
|
||||||
@@ -4228,6 +4230,18 @@ wheels = [
|
|||||||
{ url = "https://files.pythonhosted.org/packages/96/31/6607dab48616902f76885dfcf62c08d929796fc3b2d2318faf9fd54dbed9/pytest_asyncio-0.24.0-py3-none-any.whl", hash = "sha256:a811296ed596b69bf0b6f3dc40f83bcaf341b155a269052d82efa2b25ac7037b", size = 18024 },
|
{ url = "https://files.pythonhosted.org/packages/96/31/6607dab48616902f76885dfcf62c08d929796fc3b2d2318faf9fd54dbed9/pytest_asyncio-0.24.0-py3-none-any.whl", hash = "sha256:a811296ed596b69bf0b6f3dc40f83bcaf341b155a269052d82efa2b25ac7037b", size = 18024 },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pytest-randomly"
|
||||||
|
version = "3.16.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "pytest" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/c0/68/d221ed7f4a2a49a664da721b8e87b52af6dd317af2a6cb51549cf17ac4b8/pytest_randomly-3.16.0.tar.gz", hash = "sha256:11bf4d23a26484de7860d82f726c0629837cf4064b79157bd18ec9d41d7feb26", size = 13367 }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/22/70/b31577d7c46d8e2f9baccfed5067dd8475262a2331ffb0bfdf19361c9bde/pytest_randomly-3.16.0-py3-none-any.whl", hash = "sha256:8633d332635a1a0983d3bba19342196807f6afb17c3eef78e02c2f85dade45d6", size = 8396 },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pytest-recording"
|
name = "pytest-recording"
|
||||||
version = "0.13.2"
|
version = "0.13.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user