Skip to content

Commit 92c34c0

Browse files
feat: update files to debug code
1 parent 09b15b3 commit 92c34c0

3 files changed

Lines changed: 23 additions & 5 deletions

File tree

.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Python: Debug pytest (test_smoke)",
6+
"type": "debugpy",
7+
"request": "launch",
8+
"module": "pytest",
9+
"args": ["-s", "tests/test_smoke.py"],
10+
"cwd": "${workspaceFolder}/api-batch-test",
11+
"console": "integratedTerminal",
12+
"justMyCode": true
13+
}
14+
]
15+
}

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"python.testing.pytestEnabled": true,
3+
"python.testing.cwd": "${workspaceFolder}/api-batch-test",
4+
"python.testing.pytestArgs": ["tests"]
5+
}

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
# Pytest API Framework
1+
# Api Batch Test Framework
22

3-
A comprehensive testing framework built with Python and Pytest for API testing and database operations using PostgreSQL.
3+
A comprehensive testing framework built with Python and Pytest for API testing in huge scale.
44

55
## 📋 Project Overview
66

7-
This project provides a robust framework for testing REST APIs and PostgreSQL database operations. It combines API client utilities with database connection management, following Python best practices and Pytest conventions.
7+
This project provides a robust framework for testing REST. It follows Python best practices and Pytest conventions.
88

99
### Key Features
1010

1111
- **API Testing**: Client abstraction for REST API endpoints (GET, POST, PUT, DELETE)
12-
- **Database Operations**: Connection pooling and utility methods for PostgreSQL interactions
1312
- **Test Fixtures**: Reusable Pytest fixtures for API client and database connections
1413
- **Type Hints**: Full type annotations for better IDE support and code clarity
15-
- **Docker Support**: Pre-configured PostgreSQL container with initialization scripts
1614
- **Error Handling**: Comprehensive error handling and logging throughout the framework
1715

1816
## 🏗️ Architecture

0 commit comments

Comments
 (0)