Initial commit: ROA2WEB - FastAPI + Vue.js + Telegram Bot
Modern ERP Reports Application with microservices architecture Tech Stack: - Backend: FastAPI + python-oracledb (Oracle DB integration) - Frontend: Vue.js 3 + PrimeVue + Vite - Telegram Bot: python-telegram-bot + SQLite - Infrastructure: Shared database pool, JWT authentication, SSH tunnel Features: - FastAPI backend with async Oracle connection pool - Vue.js 3 responsive frontend with PrimeVue components - Telegram bot alternative interface - Microservices architecture with shared components - Complete deployment support (Linux Docker + Windows IIS) - Comprehensive testing (Playwright E2E + pytest) Repository Structure: - reports-app/ - Main application (backend, frontend, telegram-bot) - shared/ - Shared components (database pool, auth, utils) - deployment/ - Deployment scripts (Linux & Windows) - docs/ - Project documentation - security/ - Security scanning and git hooks
This commit is contained in:
32
reports-app/telegram-bot/pytest.ini
Normal file
32
reports-app/telegram-bot/pytest.ini
Normal file
@@ -0,0 +1,32 @@
|
||||
[pytest]
|
||||
# Pytest configuration for ROA2WEB Telegram Bot
|
||||
|
||||
# Test discovery patterns
|
||||
python_files = test_*.py
|
||||
python_classes = Test*
|
||||
python_functions = test_*
|
||||
|
||||
# Markers for test categorization
|
||||
markers =
|
||||
unit: Unit tests with mocks (fast, no external dependencies)
|
||||
integration: Integration tests with real backend/database (slow, requires setup)
|
||||
slow: Slow tests that take more than 1 second
|
||||
|
||||
# Default: skip integration tests unless explicitly requested
|
||||
# Run all tests: pytest
|
||||
# Run only unit tests: pytest -m unit
|
||||
# Run only integration tests: pytest -m integration
|
||||
# Run integration tests: pytest --run-integration
|
||||
addopts =
|
||||
-v
|
||||
--strict-markers
|
||||
--tb=short
|
||||
-m "not integration"
|
||||
|
||||
# Asyncio configuration
|
||||
asyncio_mode = auto
|
||||
|
||||
# Coverage options (optional)
|
||||
# --cov=app
|
||||
# --cov-report=html
|
||||
# --cov-report=term-missing
|
||||
Reference in New Issue
Block a user