-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (92 loc) · 2.73 KB
/
pyproject.toml
File metadata and controls
101 lines (92 loc) · 2.73 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pytest-mcp-plugin"
version = "0.3.0"
description = "pytest for MCP servers — the testing framework for the Model Context Protocol"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Yagna Siva Sai Kumar", email = "[email protected]" },
]
maintainers = [
{ name = "Yagna Siva Sai Kumar", email = "[email protected]" },
]
keywords = [
"mcp",
"testing",
"pytest",
"model-context-protocol",
"ai",
"agents",
"llm",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Unit",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = [
"pytest>=7.0",
"click>=8.0",
"rich>=13.0",
"tomli>=2.0; python_version < '3.11'",
]
[project.optional-dependencies]
http = ["httpx>=0.25"]
schema = ["jsonschema>=4.0"]
otel = ["opentelemetry-api>=1.24"]
hypothesis = ["hypothesis>=6.0"]
fastmcp = ["fastmcp>=2.0"]
all = ["pytest-mcp-plugin[http,schema,otel,hypothesis,fastmcp]"]
dev = [
"pytest-mcp-plugin[all]",
"pytest>=7.0",
"build>=1.0",
"twine>=5.0",
]
[project.urls]
Homepage = "https://github.com/yagna-1/mcp-test"
Repository = "https://github.com/yagna-1/mcp-test"
Issues = "https://github.com/yagna-1/mcp-test/issues"
Documentation = "https://github.com/yagna-1/mcp-test#readme"
Changelog = "https://github.com/yagna-1/mcp-test/releases"
[project.entry-points."pytest11"]
mcp_test = "mcp_test.plugin"
[project.scripts]
mcp-test = "mcp_test.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["mcp_test"]
[tool.hatch.build.targets.sdist]
include = [
"/mcp_test",
"/tests",
"/examples",
"/docs",
"/README.md",
"/LICENSE",
"/pyproject.toml",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.mcp-test]
# Default command used by `mcp-test run` if --command is not passed.
# Override in your project's pyproject.toml.
command = "python -m mcp_test._demo_server"
timeout = 10.0
# Per-method timeouts: prefer the built-in family defaults via
# `mcp-test run --smart-timeouts` (or pytest --mcp-smart-timeouts), or list
# explicit overrides under [tool.mcp-test.timeouts] keyed by method, e.g.
# "my/slow_tool" = 120.0