feature: init test framework

This commit is contained in:
2026-05-02 23:15:40 +03:00
parent 3532c89c3b
commit ab6b4b32b1
8 changed files with 538 additions and 9 deletions

View File

@@ -1,17 +1,46 @@
[project]
name = "pytfm"
version = "0.1.0"
description = "Add your description here"
description = "Python test framework for UI and API testing"
readme = "README.md"
authors = [
{ name = "Sergey Vanyushkin", email = "pi3c@yandex.ru" }
]
requires-python = ">=3.13"
dependencies = []
[project.scripts]
pytfm = "pytfm:main"
dependencies = [
"playwright>=1.42.0",
"httpx>=0.28.0",
"pytest>=9.0.0",
"pytest-asyncio>=0.23.0",
"pydantic>=2.0.0",
]
[build-system]
requires = ["uv_build>=0.10.7,<0.11.0"]
build-backend = "uv_build"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/pytfm"]
[dependency-groups]
dev = [
"ruff>=0.15.0",
"mypy>=1.20.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
pythonpath = ["src"]
testpaths = ["tests"]
[tool.mypy]
strict = true
[tool.ruff]
target-version = "py313"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "W", "B", "C4", "SIM"]
ignore = ["E501"]