Skip to content

Latest commit

 

History

History
29 lines (28 loc) · 1.48 KB

README.md

File metadata and controls

29 lines (28 loc) · 1.48 KB

Ingenious Build's Automation Challenge

  • What the project is about reqresAPIAutomatedTests is an automated project with aim objective is verify the API work correctly, validating response code, response time, response data and the parameters sent.

  • Why the language and tools selected The language used is JavaScript and the tool was Cypress that technology was selected by followign reasons:

    • Easy to setup
    • Excellent documentation
    • It is scalable
    • Can be integrated in CI/CD
    • It is friendly
  • How to set it up

    1. Verify you have installed npm and node.js with the following commands npm -v and node -v
    2. Clone the repository
    3. Execute npm i
  • How to execute it If you want to run by command line execute the npx cypress run testcommand If you want to see the execution in live then execute the npx cypress open command

  • How to develop for it

    1. Review the endpoint using Postman - (doing manual smoke test)
    2. Identify the tools that can be used for automating
    3. Select the tool following the next criteria (Time for automation, knowledge and future improvements)
    4. After defined the tool, Create the structure
    5. Finally, I added the test cases for every requirement
  • Future improvements

  1. Add Async functions
  2. Integrate the automation tests in the CI/CD
  3. Improve the structure following a partner
  4. Add test cases where verify other request (Patch, Delete, Authorization...)