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

Make plugins more testable #45

Open
vrv opened this issue Feb 21, 2024 · 0 comments
Open

Make plugins more testable #45

vrv opened this issue Feb 21, 2024 · 0 comments

Comments

@vrv
Copy link
Collaborator

vrv commented Feb 21, 2024

Right now, actions that require authentication through our actions_v0 module are a bit challenging to mock out, though it's possible. We should implement a way to make all of our plugins testable in isolation.

In cases where the plugin implementation only needs authentication for some resources, the test can use public resources if actions_v0 is mocked out properly. In cases where the plugin implementation requires authentication, we might want a mechanism for a user to authenticate locally to test things.

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