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 Arquillian instead of mocks #9

Open
AlistairDoswald opened this issue Mar 7, 2018 · 2 comments
Open

Use Arquillian instead of mocks #9

AlistairDoswald opened this issue Mar 7, 2018 · 2 comments
Assignees

Comments

@AlistairDoswald
Copy link

Currently the WS-Fed code is tested with Mockito for all data that would be coming from keycloak or the database. However, in the Keycloak project they use Arquillian to test their protocol functionalities. In order to bring our testing procedures closer to theirs, we should also use Arquillian.

The current tests should thus be replaced with tests showing the same functionalities, but using a "real" keycloak instance through Arquillian, rather than using mocks.

@yelhouti yelhouti self-assigned this Mar 8, 2018
@AlistairDoswald
Copy link
Author

Once Arquillian is set up, we should see if it is possible to automatically test the GUI as well.

@lagess
Copy link

lagess commented Jan 16, 2019

Some unit tests should be move to arquillian, but maybe not all of them. This is to be analyzed.
Arquillian is now set up for nominal cases coverage. They still have to be extended to cover more use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants