mirror of
https://github.com/johndoe6345789/docker-swarm-termina.git
synced 2026-04-24 13:45:01 +00:00
- Add pytest configuration with coverage reporting - Create test suite with 90+ test cases covering: - Authentication endpoints - Container management operations - Command execution functionality - Health checks and utilities - Add GitHub Actions workflow for automated testing - Runs on all pushes and PRs - Tests on Python 3.11 and 3.12 - Enforces 70% code coverage minimum - Validates Docker builds - Include test documentation and setup guides https://claude.ai/code/session_016vkdrUjnsBU2KMifxnJfSn
18 lines
336 B
INI
18 lines
336 B
INI
[pytest]
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
addopts =
|
|
-v
|
|
--strict-markers
|
|
--cov=.
|
|
--cov-report=term-missing
|
|
--cov-report=html
|
|
--cov-report=xml
|
|
--cov-branch
|
|
markers =
|
|
unit: Unit tests
|
|
integration: Integration tests
|
|
slow: Slow running tests
|