pytest-api-core 1.0.3__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_api_core-1.0.3/src/pytest_api_core.egg-info → pytest_api_core-1.0.4}/PKG-INFO +37 -1
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/README.md +33 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/pyproject.toml +4 -1
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4/src/pytest_api_core.egg-info}/PKG-INFO +37 -1
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/LICENSE +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/MANIFEST.in +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/setup.cfg +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/__init__.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/assertions/__init__.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/assertions/assert_utils.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/assertions/response_assertions.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/auth/__init__.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/auth/auth_handlers.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/client/__init__.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/client/api_client.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/client/api_response.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/config/__init__.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/config/base_settings.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/config/config_manager.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/config/env_loader.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/fixtures/__init__.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/fixtures/api_fixtures.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/plugin.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/reporters/__init__.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/reporters/html_reporter.py +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/reporters/templates/report.html +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core.egg-info/SOURCES.txt +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core.egg-info/dependency_links.txt +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core.egg-info/entry_points.txt +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core.egg-info/requires.txt +0 -0
- {pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-api-core
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Pytest API automation framework with custom HTML reporting, reusable fixtures, and fluent assertions
|
|
5
5
|
Author: QA Platform Team
|
|
6
6
|
License: MIT License
|
|
@@ -34,12 +34,15 @@ Keywords: pytest,api,testing,automation,html-report
|
|
|
34
34
|
Classifier: Development Status :: 5 - Production/Stable
|
|
35
35
|
Classifier: Framework :: Pytest
|
|
36
36
|
Classifier: Intended Audience :: Developers
|
|
37
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
37
38
|
Classifier: Topic :: Software Development :: Testing
|
|
38
39
|
Classifier: Programming Language :: Python :: 3
|
|
39
40
|
Classifier: Programming Language :: Python :: 3.9
|
|
40
41
|
Classifier: Programming Language :: Python :: 3.10
|
|
41
42
|
Classifier: Programming Language :: Python :: 3.11
|
|
42
43
|
Classifier: Programming Language :: Python :: 3.12
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
43
46
|
Classifier: Operating System :: OS Independent
|
|
44
47
|
Requires-Python: >=3.9
|
|
45
48
|
Description-Content-Type: text/markdown
|
|
@@ -213,6 +216,39 @@ redeclaring `api_client` — see [docs/QUICKSTART.md](docs/QUICKSTART.md#7-overr
|
|
|
213
216
|
|
|
214
217
|
---
|
|
215
218
|
|
|
219
|
+
## Project structure
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
pytest-api-core-framework/
|
|
223
|
+
├── src/pytest_api_core/
|
|
224
|
+
│ ├── plugin.py # pytest11 entry point — CLI/ini options, .env loading, reporter registration
|
|
225
|
+
│ ├── assertions/
|
|
226
|
+
│ │ ├── response_assertions.py # assert_that(response) fluent chain
|
|
227
|
+
│ │ └── assert_utils.py # standalone helpers: assert_equal, assert_contains, ...
|
|
228
|
+
│ ├── auth/
|
|
229
|
+
│ │ └── auth_handlers.py # BearerAuth, BasicAuth, APIKeyAuth, OAuth2ClientCredentials
|
|
230
|
+
│ ├── client/
|
|
231
|
+
│ │ ├── api_client.py # APIClient (requests.Session wrapper, retry, __API_CALL__ logging)
|
|
232
|
+
│ │ └── api_response.py # APIResponse wrapper (adds elapsed_ms)
|
|
233
|
+
│ ├── config/
|
|
234
|
+
│ │ ├── base_settings.py # BaseSettings — subclass to define environments
|
|
235
|
+
│ │ ├── config_manager.py # ConfigManager — merges env vars / CLI / settings_module / defaults
|
|
236
|
+
│ │ └── env_loader.py # .env file loading
|
|
237
|
+
│ ├── fixtures/
|
|
238
|
+
│ │ └── api_fixtures.py # api_config, auth_provider, api_client, api_*_auth fixtures
|
|
239
|
+
│ └── reporters/
|
|
240
|
+
│ ├── html_reporter.py # parses __API_CALL__/__API_ASSERT__ sentinels, renders HTML report
|
|
241
|
+
│ └── templates/report.html
|
|
242
|
+
├── tests/
|
|
243
|
+
│ ├── unit/test_unit.py # mocked HTTP tests (responses library)
|
|
244
|
+
│ └── e2e/test_e2e_jsonplaceholder.py # live tests against jsonplaceholder.typicode.com
|
|
245
|
+
├── docs/QUICKSTART.md # full setup guide (settings.py, conftest.py, CI)
|
|
246
|
+
├── config/settings.py # example ENVIRONMENTS settings module
|
|
247
|
+
└── pyproject.toml
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
216
252
|
## License
|
|
217
253
|
|
|
218
254
|
See [LICENSE](LICENSE).
|
|
@@ -150,6 +150,39 @@ redeclaring `api_client` — see [docs/QUICKSTART.md](docs/QUICKSTART.md#7-overr
|
|
|
150
150
|
|
|
151
151
|
---
|
|
152
152
|
|
|
153
|
+
## Project structure
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
pytest-api-core-framework/
|
|
157
|
+
├── src/pytest_api_core/
|
|
158
|
+
│ ├── plugin.py # pytest11 entry point — CLI/ini options, .env loading, reporter registration
|
|
159
|
+
│ ├── assertions/
|
|
160
|
+
│ │ ├── response_assertions.py # assert_that(response) fluent chain
|
|
161
|
+
│ │ └── assert_utils.py # standalone helpers: assert_equal, assert_contains, ...
|
|
162
|
+
│ ├── auth/
|
|
163
|
+
│ │ └── auth_handlers.py # BearerAuth, BasicAuth, APIKeyAuth, OAuth2ClientCredentials
|
|
164
|
+
│ ├── client/
|
|
165
|
+
│ │ ├── api_client.py # APIClient (requests.Session wrapper, retry, __API_CALL__ logging)
|
|
166
|
+
│ │ └── api_response.py # APIResponse wrapper (adds elapsed_ms)
|
|
167
|
+
│ ├── config/
|
|
168
|
+
│ │ ├── base_settings.py # BaseSettings — subclass to define environments
|
|
169
|
+
│ │ ├── config_manager.py # ConfigManager — merges env vars / CLI / settings_module / defaults
|
|
170
|
+
│ │ └── env_loader.py # .env file loading
|
|
171
|
+
│ ├── fixtures/
|
|
172
|
+
│ │ └── api_fixtures.py # api_config, auth_provider, api_client, api_*_auth fixtures
|
|
173
|
+
│ └── reporters/
|
|
174
|
+
│ ├── html_reporter.py # parses __API_CALL__/__API_ASSERT__ sentinels, renders HTML report
|
|
175
|
+
│ └── templates/report.html
|
|
176
|
+
├── tests/
|
|
177
|
+
│ ├── unit/test_unit.py # mocked HTTP tests (responses library)
|
|
178
|
+
│ └── e2e/test_e2e_jsonplaceholder.py # live tests against jsonplaceholder.typicode.com
|
|
179
|
+
├── docs/QUICKSTART.md # full setup guide (settings.py, conftest.py, CI)
|
|
180
|
+
├── config/settings.py # example ENVIRONMENTS settings module
|
|
181
|
+
└── pyproject.toml
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
153
186
|
## License
|
|
154
187
|
|
|
155
188
|
See [LICENSE](LICENSE).
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pytest-api-core"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.4"
|
|
8
8
|
description = "Pytest API automation framework with custom HTML reporting, reusable fixtures, and fluent assertions"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE" }
|
|
@@ -14,12 +14,15 @@ classifiers = [
|
|
|
14
14
|
"Development Status :: 5 - Production/Stable",
|
|
15
15
|
"Framework :: Pytest",
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
17
18
|
"Topic :: Software Development :: Testing",
|
|
18
19
|
"Programming Language :: Python :: 3",
|
|
19
20
|
"Programming Language :: Python :: 3.9",
|
|
20
21
|
"Programming Language :: Python :: 3.10",
|
|
21
22
|
"Programming Language :: Python :: 3.11",
|
|
22
23
|
"Programming Language :: Python :: 3.12",
|
|
24
|
+
"Programming Language :: Python :: 3.13",
|
|
25
|
+
"Programming Language :: Python :: 3.14",
|
|
23
26
|
"Operating System :: OS Independent",
|
|
24
27
|
]
|
|
25
28
|
requires-python = ">=3.9"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-api-core
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Pytest API automation framework with custom HTML reporting, reusable fixtures, and fluent assertions
|
|
5
5
|
Author: QA Platform Team
|
|
6
6
|
License: MIT License
|
|
@@ -34,12 +34,15 @@ Keywords: pytest,api,testing,automation,html-report
|
|
|
34
34
|
Classifier: Development Status :: 5 - Production/Stable
|
|
35
35
|
Classifier: Framework :: Pytest
|
|
36
36
|
Classifier: Intended Audience :: Developers
|
|
37
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
37
38
|
Classifier: Topic :: Software Development :: Testing
|
|
38
39
|
Classifier: Programming Language :: Python :: 3
|
|
39
40
|
Classifier: Programming Language :: Python :: 3.9
|
|
40
41
|
Classifier: Programming Language :: Python :: 3.10
|
|
41
42
|
Classifier: Programming Language :: Python :: 3.11
|
|
42
43
|
Classifier: Programming Language :: Python :: 3.12
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
43
46
|
Classifier: Operating System :: OS Independent
|
|
44
47
|
Requires-Python: >=3.9
|
|
45
48
|
Description-Content-Type: text/markdown
|
|
@@ -213,6 +216,39 @@ redeclaring `api_client` — see [docs/QUICKSTART.md](docs/QUICKSTART.md#7-overr
|
|
|
213
216
|
|
|
214
217
|
---
|
|
215
218
|
|
|
219
|
+
## Project structure
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
pytest-api-core-framework/
|
|
223
|
+
├── src/pytest_api_core/
|
|
224
|
+
│ ├── plugin.py # pytest11 entry point — CLI/ini options, .env loading, reporter registration
|
|
225
|
+
│ ├── assertions/
|
|
226
|
+
│ │ ├── response_assertions.py # assert_that(response) fluent chain
|
|
227
|
+
│ │ └── assert_utils.py # standalone helpers: assert_equal, assert_contains, ...
|
|
228
|
+
│ ├── auth/
|
|
229
|
+
│ │ └── auth_handlers.py # BearerAuth, BasicAuth, APIKeyAuth, OAuth2ClientCredentials
|
|
230
|
+
│ ├── client/
|
|
231
|
+
│ │ ├── api_client.py # APIClient (requests.Session wrapper, retry, __API_CALL__ logging)
|
|
232
|
+
│ │ └── api_response.py # APIResponse wrapper (adds elapsed_ms)
|
|
233
|
+
│ ├── config/
|
|
234
|
+
│ │ ├── base_settings.py # BaseSettings — subclass to define environments
|
|
235
|
+
│ │ ├── config_manager.py # ConfigManager — merges env vars / CLI / settings_module / defaults
|
|
236
|
+
│ │ └── env_loader.py # .env file loading
|
|
237
|
+
│ ├── fixtures/
|
|
238
|
+
│ │ └── api_fixtures.py # api_config, auth_provider, api_client, api_*_auth fixtures
|
|
239
|
+
│ └── reporters/
|
|
240
|
+
│ ├── html_reporter.py # parses __API_CALL__/__API_ASSERT__ sentinels, renders HTML report
|
|
241
|
+
│ └── templates/report.html
|
|
242
|
+
├── tests/
|
|
243
|
+
│ ├── unit/test_unit.py # mocked HTTP tests (responses library)
|
|
244
|
+
│ └── e2e/test_e2e_jsonplaceholder.py # live tests against jsonplaceholder.typicode.com
|
|
245
|
+
├── docs/QUICKSTART.md # full setup guide (settings.py, conftest.py, CI)
|
|
246
|
+
├── config/settings.py # example ENVIRONMENTS settings module
|
|
247
|
+
└── pyproject.toml
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
216
252
|
## License
|
|
217
253
|
|
|
218
254
|
See [LICENSE](LICENSE).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/assertions/assert_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/config/config_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/fixtures/api_fixtures.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/reporters/html_reporter.py
RENAMED
|
File without changes
|
{pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core/reporters/templates/report.html
RENAMED
|
File without changes
|
|
File without changes
|
{pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pytest_api_core-1.0.3 → pytest_api_core-1.0.4}/src/pytest_api_core.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|