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

Use fake Driver in e2e tests #317

Open
acpana opened this issue Apr 3, 2023 · 0 comments
Open

Use fake Driver in e2e tests #317

acpana opened this issue Apr 3, 2023 · 0 comments

Comments

@acpana
Copy link
Contributor

acpana commented Apr 3, 2023

With multi-engine support in (#293), our e2e testing harness relies on creating a rego driver only. That is fine for testing the rego driver but we should use the fake Driver more in our e2es as per: #283 (comment) :

We should move away from using Rego to using the fake driver in tests. This will reduce randomness and allow us to do things like inject specific stats responses, error responses, etc.

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

No branches or pull requests

1 participant