Skip to content

feat: add e2e tests - #5

Merged
willianpaixao merged 1 commit into
mainfrom
e2e-tests
Jan 26, 2026
Merged

feat: add e2e tests#5
willianpaixao merged 1 commit into
mainfrom
e2e-tests

Conversation

@willianpaixao

Copy link
Copy Markdown
Owner

No description provided.

@willianpaixao willianpaixao self-assigned this Jan 26, 2026
Copilot AI review requested due to automatic review settings January 26, 2026 20:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a comprehensive end-to-end (E2E) testing suite for the Lalo EPUB to audiobook converter. The test suite validates the complete conversion pipeline using real TTS engines and real EPUB files from Project Gutenberg.

Changes:

  • Added 51 E2E tests across 6 test files covering CLI commands, audio format conversion, streaming modes, parallel processing, error handling, and multi-language support
  • Created test utilities and fixtures for audio validation, quality checking, and M4B chapter marker validation
  • Added comprehensive documentation including testing guide and E2E test suite README with usage instructions
  • Updated CI/CD workflows to exclude GPU-dependent E2E tests from automated runs

Reviewed changes

Copilot reviewed 16 out of 20 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
tests/e2e/init.py Module initialization for E2E tests
tests/e2e/conftest.py Test fixtures and pytest configuration for E2E tests
tests/e2e/utils.py Utility functions for audio validation and quality checking
tests/e2e/test_e2e_cli_basic.py Tests for CLI commands (version, help, speakers, languages, inspect)
tests/e2e/test_e2e_convert_formats.py Tests for output formats (MP3, WAV, M4B) and chapter markers
tests/e2e/test_e2e_convert_modes.py Tests for streaming vs non-streaming modes and chapter selection
tests/e2e/test_e2e_convert_parallel.py Tests for parallel vs sequential processing
tests/e2e/test_e2e_error_handling.py Tests for error scenarios and edge cases
tests/e2e/test_e2e_languages.py Tests for multi-language support (Portuguese)
tests/e2e/README.md Comprehensive documentation for E2E test suite
docs/TESTING.md Testing guide for unit and E2E tests
README.md Added development setup and testing reference
pyproject.toml Added pytest markers configuration
.github/workflows/ci.yml Updated to exclude E2E tests from CI pipeline
.github/workflows/pr.yml Updated to exclude E2E tests from PR checks
.gitattributes Added binary handling for EPUB files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/TESTING.md Outdated
Comment thread docs/TESTING.md Outdated
Comment thread tests/e2e/README.md Outdated
Comment thread tests/e2e/test_e2e_error_handling.py
Comment thread tests/e2e/test_e2e_convert_modes.py
Comment thread tests/e2e/test_e2e_convert_formats.py Outdated
Comment thread docs/TESTING.md Outdated
Comment thread docs/TESTING.md Outdated
Comment thread tests/e2e/test_e2e_convert_modes.py Outdated
Comment thread tests/e2e/test_e2e_convert_modes.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 20 changed files in this pull request and generated 9 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/e2e/test_e2e_convert_formats.py Outdated
Comment thread tests/e2e/test_e2e_convert_modes.py Outdated
Comment thread tests/e2e/test_e2e_convert_modes.py Outdated
Comment thread tests/e2e/test_e2e_convert_modes.py Outdated
Comment thread tests/e2e/test_e2e_convert_modes.py Outdated
Comment thread tests/e2e/test_e2e_convert_modes.py Outdated
Comment thread tests/e2e/README.md Outdated
Comment thread tests/e2e/README.md Outdated
Comment thread tests/e2e/conftest.py Outdated
Signed-off-by: Willian Paixao <willian@ufpa.br>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 20 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@willianpaixao
willianpaixao merged commit e226534 into main Jan 26, 2026
13 checks passed
@willianpaixao
willianpaixao deleted the e2e-tests branch January 26, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants