-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.72 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (58 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "selenium-python-framework"
version = "1.0.0"
description = "Enterprise-grade Selenium Python Automation Framework"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [
{ name = "QA Team" },
]
keywords = ["selenium", "pytest", "automation", "testing", "qa"]
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"smoke: Smoke tests - core critical path",
"regression: Full regression suite",
"sanity: Sanity checks after deployment",
"e2e: End-to-end user journey tests",
"integration: Integration tests",
"api: API contract and functional tests",
"ui: UI interaction tests",
"slow: Slow running tests",
"flaky: Known flaky tests requiring reruns",
"parallel: Tests safe for parallel execution",
"data_driven: Data-driven tests",
"negative: Negative/error path tests",
]
[tool.coverage.run]
source = ["pages", "flows", "core", "api", "utils"]
omit = ["tests/*", "**/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
]
[tool.ruff]
target-version = "py312"
line-length = 120
indent-width = 4
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.bandit]
exclude_dirs = ["tests", ".venv", "venv", ".git", "reports", "screenshots", "logs", "allure-results"]
skips = ["B101", "B311", "B403", "B404", "B603", "B607"]
assert_used = false