Coder Social home page Coder Social logo

fastify-example-tests's Introduction

fastify-example-tests

Cypress tests to fill to check the fastify-example application

These tests are for the online course Cypress Network Testing Exercises

The public repository has test placeholders to be filled by the actual Cypress commands.

Requirements

  • Node.js >= 14 check with node -v
  • clone the example application repo fastify-example, install its dependencies and start the application. It should be running at localhost:4200

Install

  • npm install

Should install all dependencies, including Cypress

Start writing tests

  • Enroll in the course
  • Watch the introduction lesson
  • Open the first test spec01.js and try implementing it following the comments
  • Watch the lesson that covers the spec01.js to see if your solution matches mine

Tests

There are 180+ tests, to see them all use find-cypress-specs

$ npm run print
...

cypress/integration/spec30.js (1 test)
└─ handles test flake using the test retries

found 116 specs (180 tests, 13 pending)

Tests after bonus91

The new bonus lessons starting with "bonus 92" are written using Cypress v12+ and are placed in the repo bahmutov/fastify-example-tests-new.

Feedback

These tests were set up by Gleb Bahmutov. If you have any feedback about these tests and the course, drop me an email or open an issue / comment at bahmutov/cypress-courses.

fastify-example-tests's People

Contributors

bahmutov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.