Closed dragon-fire-fly closed 1 year ago
The following unittests should be designed and run to test the user registration and sign-in and sign out functionality
[x] Test that registration page loads
[x] Test that correct template is used for registration
[x] Test redirection following registration
[x] Test user redirected correctly to user profile after signing up
[x] Test if user was added to the database
[x] Test user logged in and authenticated after signup
[x] Test signup date is correctly added
[x] Test that no new user was created when incorrect credentials are used
[x] Test that browser rerenders the form for submission again if incorrect credentials are submitted
[x] Test that the login page successfully loads (status code 200)
[x] Test that the correct login template is rendered
[x] Test that existing user is able to login
[x] Test that logged-in user is authenticated
The following unittests should be designed and run to test the user registration and sign-in and sign out functionality
[x] Test that registration page loads
[x] Test that correct template is used for registration
[x] Test redirection following registration
[x] Test user redirected correctly to user profile after signing up
[x] Test if user was added to the database
[x] Test user logged in and authenticated after signup
[x] Test signup date is correctly added
[x] Test that no new user was created when incorrect credentials are used
[x] Test that browser rerenders the form for submission again if incorrect credentials are submitted
[x] Test that the login page successfully loads (status code 200)
[x] Test that the correct login template is rendered
[x] Test that existing user is able to login
[x] Test that logged-in user is authenticated