Testing - ysunag/neu-stackoverflow GitHub Wiki

Test cases:

User Registration:

  • NEU student could only register with a proper husky email address: ended by @husky.neu.edu

  • NEU Teacher could only register with a proper northeastern email address: ended by @northeastern.edu

  • NEU Admin could only register with a private invite key: enter "a private invite key"

  • non-NEU user could register with a valid email address.

Use Case Analysis:

  • A user related to another user: Student Alice has a question. Teacher Jackie provides an answer to the question, if Alice like the answer, she could choose to follow teacher Jackie.

  • A user could search a favorite image and set as his/her profile image.

  • A user views details of a particular domain object listed in the search results: A student could browse all the questions. By clicking on a question, details of the answer will be provided, and who answered the question is also listed.

  • A user views all domain objects related to the user: for student Tom, he can check all the questions posted by himself in "Questions and Answers" page.

  • A NEU staff can view all the registered users.

  • A domain object related to another domain object: The student could add question to the question list.

  • An admin lists all users

  • An admin edits/updates a particular user info

  • An admin removes a user, or delete a post if necessary

Note: Users could register themselves, An admin creates a user functionality is not suitable in this website.