quinone / password-manager

Password management application developed as a group project for college.
0 stars 0 forks source link

Write tests for user registration #9

Closed quinone closed 3 months ago

quinone commented 3 months ago

Create working tests to automate the verification of the registration process.

  1. Input validation

    • Valid email address
    • Strong password
    • Special characters and potential injection attempts
  2. Database interaction

    • Correctly creates new users
    • Prevents duplicate emails
    • Correct storage of password hashes
  3. Error handling

    • Appropriate error messages
  4. Redirects and responses

  5. Edge cases

    • Long inputs
    • Special characters
    • Injection attempts