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 ready!

Name Link
🔨 Latest commit 74cf12c
🔍 Latest deploy log https://app.netlify.com/sites/opal-docs/deploys/672412866135a40009f58e12
😎 Deploy Preview https://deploy-preview-690--opal-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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