Skip to content

Demo project + integrations / allure, cucumber, github-action

Notifications You must be signed in to change notification settings

byKosta/DemoQATest

Repository files navigation

QA

DemoQA is a comprehensive website offering a plethora of demonstration examples and educational resources tailored for testing web applications.

Explore a rich array of interactive examples, meticulously crafted to delve into the foundational aspects and advanced capabilities of various web development technologies including HTML, CSS, JavaScript, React, and more.

Discover code snippets and insightful instructions meticulously curated to empower users in comprehending and mastering diverse facets of web development.

Whether you're a novice enthusiast embarking on your coding journey or a seasoned professional seeking to hone your expertise, DemoQA stands as an invaluable resource, fostering learning and skill enhancement.

Getting Started with Cypress: Cypress is an advanced end-to-end testing framework designed for modern web applications. To embark on your journey with Cypress, follow these elegant steps:

1. Install Node.js:

Ensure you have the latest version of Node.js installed. Head over to the official Node.js website and download the installation package. https://nodejs.org/en/download/current

2. Set Up Your Project:

Create a new project or navigate to your existing one. Open your terminal and traverse to your project directory:

cd path/to/your/project

3. Initialize Your Project:

Initialize your project with npm, generating a package.json file containing essential project details: https://www.cypress.io/

npm init -y

4. Cypress Installation:

Install Cypress using npm, employing the following command:

npm install cypress --save-dev

5. Launch Cypress:

After successful installation, launch Cypress by executing:

npx cypress open

This command opens the Cypress Test Runner interface, providing an intuitive platform to create, execute, and monitor your tests.

Allure Integration

Installing Allure

https://allurereport.org/docs/gettingstarted-installation/

To integrate Allure into your Cypress project, follow these steps:

  1. Install Allure by following the official documentation for your operating system.

Cypress Allure Reporter

  1. Install the Cypress Allure Reporter:

    npm install -D cypress-allure-reporter

Updating Cypress configuration file (cypress.json)

Update your cypress.json file to include the Cypress Allure Reporter:

{
  "reporter": "cypress-allure-reporter"
}

About

Demo project + integrations / allure, cucumber, github-action

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published