Add end-to-end integration test for full pipeline#58
Merged
Conversation
Co-authored-by: szmyty <14865041+szmyty@users.noreply.github.com> Agent-Logs-Url: https://github.com/egohygiene/renderflow/sessions/9ef2ea09-161b-4af2-a6ca-fa5406908a58
Copilot
AI
changed the title
[WIP] Add end-to-end integration test for full pipeline
Add end-to-end integration test for full pipeline
Mar 23, 2026
szmyty
approved these changes
Mar 23, 2026
Pull Request Summary by devActivityMetricsAchievements
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No integration test existed to verify the full
CLI → config → transform → pipeline → strategy → outputpath as a unit. Failures at integration boundaries (e.g. transform output reaching the strategy, output file actually written) were only catchable at runtime.Changes
tests/pipeline_integration_test.rs— new integration test file with three tests:test_full_pipeline_end_to_end(#[ignore], requires pandoc): creates a temp markdown file with emoji content (exercisesEmojiTransform), writes a YAML config, invokes the compiled binary, and asserts the output.htmlfile exists on disk and is non-emptytest_full_pipeline_missing_input_file: asserts non-zero exit when config references a missing input — verifies the pipeline never startstest_full_pipeline_invalid_config: asserts non-zero exit for a semantically invalid config (emptyoutputs, emptyinput)Follows existing patterns from
tests/cli_tests.rs— reusestests/common, usestempfilefor isolation, and marks pandoc-dependent tests with#[ignore]consistently.Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.