Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: e2e tests framework with pytest #690

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

tobihans
Copy link

Fixes Issue

Closes #677

Changes proposed

The approach is to exploit testcontainers to run the opal server & client (as pytest fixtures), before tests start.

Currently, all necessary containers are configured but they're not yet working as intended.

  • Configure all containers
  • Fix opal client unable to connect to the server (ConnectionRefusedError - needs debugging)
  • Fix statistics issue on opal server (currently, enabling it results in process failure)
  • Provide basic http clients for server, client and OPA (as fixtures).

Check List (Check all the applicable boxes)

  • I sign off on contributing this submission to open-source
  • My code follows the code style of this project.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

This is a WIP for now. I hope to expand on it to get a fully functional framework.

Copy link

netlify bot commented Oct 31, 2024

Deploy Preview for opal-docs canceled.

Name Link
🔨 Latest commit 174c3e2
🔍 Latest deploy log https://app.netlify.com/sites/opal-docs/deploys/67a1d3f1fe36ec00080a4fd2

@tobihans tobihans force-pushed the feat/e2e-tests-framework-with-pytest branch from 74cf12c to 174c3e2 Compare February 4, 2025 08:46
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.

Create E2E tests framework using PyTest
1 participant