BHAL Project Home Page / Documentation / Test Cases / Authentication and Autorization / Login Functionality (MVP) Test Cases
Login Functionality (MVP) Test Cases
This page details the test cases for the Login Functionality.
Test Case #1 - Login With Correct Information
Starts with: Login form being displayed to the user.
Actions:
- User fills username and password text boxes.
- User clicks the Login button.
- Presenter Validates the username and password.
- Presenter logs the user in the membership context.
Ends with: User logged-in.
Implemented in: Namespace Bhal.Testing.MVP.Login and unit test LoginArchitectureTests.LoginWithCorrectInformationTest.
Test Case #2 - Login With Incorrect Information
Starts with: Login form being displayed to the user.
Actions:
- User fills username and password text boxes.
- User clicks the Login button.
- Presenter Validates the username and password.
- Presenter returns invalid login information to the UI.
Ends with: Invalid information message displayed to the user.
Implemented in: Namespace Bhal.Testing.MVP.Login and unit test LoginArchitectureTests.LoginWithIncorrectInformationTest.
Test Case #3 - Create Default Administrator User
Starts with: Login form being displayed to the user.
Actions:
- User fills password text boxes.
- User clicks the Create Administrator User button.
- Presenter Validates the password.
- Presenter creates the Administrator user with the supplied password.
Ends with: Administrator user created.
Implemented in: Namespace Bhal.Testing.MVP.Login and unit test LoginArchitectureTests.CreateDefaultAdministratorUserTest.
Comments (0)
You don't have permission to comment on this page.