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 ApolloInternalTestSupport to ApolloTestSupport target #2700

Open
hydro1337x opened this issue Dec 5, 2022 · 2 comments
Open

Add ApolloInternalTestSupport to ApolloTestSupport target #2700

hydro1337x opened this issue Dec 5, 2022 · 2 comments
Labels
feature New addition or enhancement to existing solutions testing

Comments

@hydro1337x
Copy link

Feature request

It would be great if the contents of ApolloInternalTestSupport would be available with ApolloTestSupport so we can import it in our Test target.

Motivation

I'm creating a custom refresh token interceptor which is similar to the ResponseCodeInterceptor and found that it is not straight forward to write unit tests for it without the custom test infrastructure already written in ApolloInternalTestSupport. As a workaround I'm copying the whole folder to my test target.

@calvincestari
Copy link
Member

Hi @hydro1337x - do you mean ApolloInternalTestHelpers?

@hydro1337x
Copy link
Author

Hi @calvincestari, yes, sorry for the misspelling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New addition or enhancement to existing solutions testing
Projects
None yet
Development

No branches or pull requests

3 participants