Add e2e tests#13
Merged
Merged
Conversation
16472a1 to
039755b
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive end-to-end (e2e) testing infrastructure to verify the tf library works correctly against the real OpenTofu CLI. The tests use an example math provider to validate provider functionality, data sources, and CLI integration.
- Creates a complete e2e testing framework for running tests against actual OpenTofu installations
- Implements a sample math provider with division data source for testing purposes
- Integrates e2e tests into CI pipeline with multiple OpenTofu versions
Reviewed Changes
Copilot reviewed 12 out of 17 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| e2e/e2e_framework/ | New testing framework with CLI tools for installing/running OpenTofu and base test classes |
| e2e/mathprovider/ | Example provider implementation with division data source and comprehensive test coverage |
| .github/workflows/python-package.yml | CI integration for e2e tests across multiple OpenTofu versions |
| Makefile | Updates formatting commands to include e2e directories |
| .pyre_configuration | Adds e2e directories to type checker search path |
| CHANGELOG.md | Documents the new e2e testing feature |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
ralphie0112358
approved these changes
Aug 25, 2025
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.
This adds an example provider and wires up some e2e tests to verify
tfcan actually work against the real tofu CLI.