Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automation Test using Cypress

Automation Test using Cypress

F. Rohim (O'im)

June 24, 2021
Tweet

More Decks by F. Rohim (O'im)

Other Decks in Programming

Transcript

  1. What is API? ? ? An Application Programming Interface (API)

    is code that allows two program software to communicate with each other. an API may include specifications for routines, data structures, object classes, and variables.
  2. Provider Program How does the API Work? The API consists

    of two relate elements. The first is a specification that explains how information is exchanged between programs, done in the form of request for processing and returning the necessary data. The second is the interface software written to that specification and published in some to used. Consumer Program API Interface
  3. Why API is so Important? Speed up the creation of

    an application 2 Easy to implement on any platform 3 Ease for maintenance, etc. 1
  4. Cypress is software used for automated testing on the web

    using the node.js platform and javascript. In testing using Cypress, we used script code. The script code that is written is processed to run the system or software
  5. Mocha is a feature-rich JavaScript test framework running on Node.js

    and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. Hosted on GitHub. What is Mocha ? ?
  6. Chai is a BDD / TDD assertion library for node

    and the browser that can be delightfully paired with any javascript testing framework. What is Chai? ? ?