Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joy Priyanka - API Challenge 1 #153

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

PRIYJO2
Copy link

@PRIYJO2 PRIYJO2 commented Jun 14, 2023

Solution for API Challenge 1

@PRIYJO2
Copy link
Author

PRIYJO2 commented Jun 14, 2023

Task: API Challenge 1

Scenarios automated:

  1. Test case that prove the request behavior works as intended
  2. Test case that prove the response behavior works as intended
  3. Test case that proves the request behavior does not work as intended (there's a bug)
  4. Test case that demonstrates boundary based testing
  5. Negative test case

Test Execution steps:

  1. Ensure that NodeJS is installed on the machine.
  2. Use the following command to start the API server, run the automated API tests and generate Mocha report.
    npm run test:stockapitest
  3. To view the HTML reports navigate to mochawesome-report >mochawesome.html and open the file in preferred browser.

Test Execution Results: Mocha Report
image

@PRIYJO2 PRIYJO2 changed the title Pushing solution for API Challenge 1 Joy Priyanka - API Challenge 1 Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant