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

Testing service classes #12

Open
cmdavinder opened this issue Oct 3, 2018 · 2 comments
Open

Testing service classes #12

cmdavinder opened this issue Oct 3, 2018 · 2 comments

Comments

@cmdavinder
Copy link

Hi there,

Thanks for posting samples. I am wondering if there is a way to test Service classes with graphql-spqr annotations? Are there any examples for it?

Thanks.

@BaldyLocks
Copy link
Member

I'm not entirely sure I get your question? I mean service methods can be unit tested as any other methods and API calls can be tested like any other Spring MVC controller using MockMvc or externally when deployed if that would be the preference. Please clarify further.

@luizpaulofranz
Copy link

I'm facing troubles when I trie to test graphql end point served by spqr, my mockMvc doesn't work, there is some default configuration needed?

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

3 participants