Skip to content

gimenezr/api-qa-assigment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API QA Assigment

Installation

To install the repository and its dependencies using npm, follow these steps:

npm ci

Running Tests and Viewing Reports

  • To run the tests locally, you need to set up an .env.local file with the BASE_URL and TOKEN parameters. Refer to .env for an example.
    • Running Tests Locally: npm run test
    • Running Tests and Generating Reports: npm run test-report
      • o view the report locally, navigate to the repository folder, locate the mochawesome-report directory, and open the .html file.

GitHub Actions Integration

Automated testing is set up using GitHub Actions for continuous integration:

  1. Navigate to the Actions tab in your GitHub repository.
  2. Select the workflow named RUN SuperTest API Test CI.
  3. Click the Run workflow button on the right.
  4. Wait for the workflow to complete.
  5. To view the generated report: Go to the finished job. Scroll down and access the attached report.

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published