Giter VIP home page Giter VIP logo

testing-workshop-cypress's Introduction

In diesem Workshop werden wir eine Einführung ins E2E Web Testing mit Cypress.io geben. Wir werden lernen was E2E Testing ist und welche Ziele man damit erreichen möchte.

Wir werden also nicht jeden Aspekt von Cypress erforschen, sondern viel mehr anhand einer Beispiel Anwendung die ersten Schritte erklären und wichtige und nützliche Aspkete aufzeigen, sodass jeder in der Lage ist tiefer in E2E Testing mit diesem Framework einzutauchen. Die Beispiel Applikation ist von TodoMVC entnommen worden.

Vorkenntnisse:

  • HTML (+CSS)
  • Javascript
  • Git
  • REST (+Client)

Benötigte Tools:

  • IDE (VS Code)
  • Github Repo
  • NodeJS
  • Browser mit DevTools (Google Chrome)

Vorbereitung:

  • Node.js/npm installieren.

  • Workshop-Repository clonen.

  • npm-Abhängigkeiten für Cypress Workshop installieren.

    $ npm install
  • npm-Abhängigkeiten für Beispiel Applikation installieren. Die Abhängigkeiten für die Beispiel Applikation sollten bereits durch obriges Kommando installiert sein, sonst

    $ cd todomvc && npm install
  • Starte Beispiel Applikation

    $ npm run start
  • Prüfe ob die Applikation unter http://localhost:3000/ läuft

  • Überprüfen ob Cypress startet mit

    $ npm run cy:open
  • Es sollte sich automatisch der Test Runner von Cypress.io in einem Browserfenster öffnen

Aufgaben

Aufgaben sind zu finden in dem Verzeichnis cypress/e2e

  1. 01-basic
  2. 02-addind-items
  3. 03-reset-state

Material

Referenzen

Repository wurde geforked von Cypress.io Workshop Beispiel Anwendung ist von TodoMVC

testing-workshop-cypress's People

Contributors

bahmutov avatar renovate[bot] avatar maxham avatar renovate-bot avatar amirrustam avatar bartduisters avatar dbeigi avatar jennifer-shehane avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.