ttebify/anonymous-comrades

[FEATURE]: Unit Test Setup and Postman Integration (Due 5th July 2023)

Closed this issue · 0 comments

Task Description:

The purpose of this issue is to set up unit testing for the project and integrate Postman for API testing. Additionally, the README file needs to be updated to reflect the changes made. The specific tasks involved are as follows:

  • Set up unit testing framework and configuration.
  • Write the first test case for the project.
  • Create a Postman workspace for the team and add all members to the project.
  • Update the README file, specifically on line 8, to reflect the changes in how to run the project. The instructions should now include using Postman and provide a link to the public workspace.

Acceptance Criteria:

  • The unit testing framework should be correctly set up and configured.
  • At least one test case should be written, covering a critical component or functionality of the project.
  • The Postman workspace should be created, and all team members should be added to the project.
  • The README file should be updated to include instructions on using Postman and a link to the public workspace.

Implementation Guidelines:

  • Choose a unit testing framework suitable for the project and set it up within the project.
  • Configure the necessary test runner and test libraries to enable running unit tests.
  • Write the first test case, focusing on a critical component or functionality of the project. Ensure the test provides comprehensive coverage and validates the expected behaviour.
  • Run the test suite to verify that the test case executes successfully.
  • Create a Postman workspace for the team and invite all members to join.
  • Set up the necessary API collections and environments in the Postman workspace.
  • Grant appropriate permissions to team members within the Postman workspace, allowing them to collaborate and contribute to the project's API testing.
  • Update the README file, specifically on line 8, to reflect the changes in how to run the project. Replace the previous instructions with new instructions for using Postman and provide a link to the public workspace.