Skip to content

Added Unit Testing - #15

Open
darkedges wants to merge 10 commits into
ForgeRock:masterfrom
darkedges:master
Open

darkedges wants to merge 10 commits into
ForgeRock:masterfrom
darkedges:master

Conversation

@darkedges

Copy link
Copy Markdown

I have taken the time to add some unit testing and code coverage to the project.
By doing show it should enable a developer to test their code before deploying.

I have used PowerMockito and Mockito for the mocks and achieve 100% code coverage. It checks the callbacks have been defined correctly, as well as the page callback to show that the correct headers have been set.

It would be great if this could be migrated into some sort of test base for developing Authentication Modules.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants