fcc547536a
- Created 132 tests: 19 smoke, 83 unit, 9 Docker, 21 integration - Added test fixtures: 17 ebook files (EPUB, MOBI, TXT) for realistic testing - Implemented GitHub Actions workflow with 3-job strategy: * Job 1: Fast tests (smoke + unit) on every PR (~2 min) * Job 2: Integration tests on merge to main/dev (~15-20 min) * Job 3: E2E tests on release tags (manual trigger) - Added 63 unit tests for cps/helper.py (filename sanitization, author parsing, validation) - Configured pytest with parallel execution and coverage reporting - Added Discord webhook notifications for test failures - Updated .gitignore to track test fixtures while ignoring other EPUBs - Updated .dockerignore to exclude test infrastructure from production image Tests validate core functionality before releases and prevent regressions. Documentation in tests/README.md and cwa-wiki/Testing-Guide-for-Contributors.md
28 lines
364 B
Plaintext
28 lines
364 B
Plaintext
README_images
|
|
docker-compose.yml
|
|
.git
|
|
.github
|
|
.gitignore
|
|
.github/workflows
|
|
.gitattributes
|
|
.po~
|
|
build.sh
|
|
README.md
|
|
LICENSE
|
|
Dockerfile
|
|
.dockerignore
|
|
build.sh
|
|
.history
|
|
docker-compose.yml.dev
|
|
changelogs
|
|
cwa-wiki
|
|
wiki_images
|
|
.devcontainer
|
|
|
|
# Test infrastructure (not needed in production image)
|
|
tests/
|
|
pytest.ini
|
|
requirements-dev.txt
|
|
TEST*.md
|
|
TESTING*.md
|
|
.pytest_cache/ |