Integration tests
1. Use Case 1:
- Description: User can search for a tool.
- Objective: Verify that the user can search for tools that other users have listed.
- Expected Test Result: The user will only see tools other users have listed that fit the search criteria.
2. Use Case 2:
- Description: User can review another user.
- Objective: Verify that the a user review is created.
- Expected Test Result: The review can be seen under my reviews.
3. Use Case 3:
- Description: User can rent out their tool.
- Objective: Verify that a tool that is listed can be seen by other users.
- Expected Test Result: The tool is available to other users when they search for tool listings.
4. Use Case 4:
- Description: User can find tools that are available nearby.
- Objective: Verify nearby tools can be seen by the user.
- Expected Test Result: Only available tools that are within a specific mile radius are visible.
5. Use Case 5:
- Description: User can edit tool details.
- Objective: Verify that a user is able to edit tool information.
- Expected Test Result: The user is able to see updated information about their tool under the Tools page.
6. Use Case 6:
- Description: User can deactivate a listing.
- Objective: Verify that the user can deactivate listings when the tool is being rented out by another user.
- Expected Test Result: A listing that has been deactivated can not be seen by other users.