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

Add Test Examples #98

Open
type1fool opened this issue Sep 25, 2024 · 0 comments
Open

Add Test Examples #98

type1fool opened this issue Sep 25, 2024 · 0 comments

Comments

@type1fool
Copy link

Problem Statement

I am attempting to write tests for a controller that uses the Ueberauth plug and implements a callback/2 function. After digging through documentation for Ueberauth, Plug, and Phoenix, and after reviewing the code in ueberauth_example I do not see a clear path for testing the function in my application.

The google_test.exs in ueberauth_google has a significant amount of setup and other code that may not be necessary in an application using the package.

Solution Brainstorm

The example repo does a great job at illustrating implementation of Ueberauth with various providers. Please add example tests so it is also clear how to make sure things work correctly.

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