Welcome to the IT Quality Assurance (ITQA) assignment repository! This project showcases advanced UI and API testing using Cypress and Cucumber, ensuring quality and maintainability in software development.
This project aims to demonstrate the following:
- UI Testing: Automating end-to-end scenarios for a web application.
- API Testing: Validating API functionality, performance, and edge cases.
Tools Used:
- Cypress for test execution.
- Cucumber for writing Gherkin-style test cases.
- Ensures consistent and reliable software quality.
- Promotes behavior-driven development (BDD) for better team collaboration.
| Technology | Purpose |
|---|---|
| Cypress | Fast, reliable end-to-end testing. |
| Cucumber | Behavior-driven development with Gherkin syntax. |
| Node.js | Environment setup and dependency management. |
| JavaScript | Writing maintainable and scalable test scripts. |
Follow these steps to get started:
- Clone the repository:
git clone https://github.com/Team-Infolinx/itqa-assignment-group39.git cd itqa-assignment-group39 - Install dependencies:
npm install
- Run Cypress tests:
npx cypress open
- Open the Cypress Test Runner:
npx cypress open
- Run tests in headless mode:
npx cypress run
- Execute tests with Allure reporter:
npx cypress run --reporter mocha-allure-reporter --reporter-options allureResults=allure-results
- Generate Allure report:
allure generate allure-results --clean
- Open Allure report:
allure open allure-report
itqa-assignment-group39/
├── cypress/
│ ├── e2e/ # Feature files and step definitions
│ ├── fixtures/ # Test data files
│ ├── screenshots/ # Automatically generated test failure screenshots
│ └── support/ # Custom Cypress commands and utilities
├── allure-results/ # Allure test results
├── allure-report/ # Generated Allure reports
├── node_modules/ # Installed dependencies
├── cypress.config.js # Cypress configuration file
└── package.json # Project metadata and dependencies
| Index | Name |
|---|---|
| 204042N | Dinusha K.M |
| 204113J | Lakshan K.A.D |
| 204129M | Meegoda S.Y |
| 204189U | Sanjaya B.H |
| 204191T | Sankalapani D.J.M.R |
| 204197R | Senevirathne Y.M.N.N |
- Seamless Integration: Combines UI and API testing for full-stack quality assurance.
- Scalable: Written in modern, scalable tools like Cypress and Cucumber, ensuring maintainability and flexibility for future enhancements.
- Actionable Reports: Leverages Allure for generating detailed, interactive test reports that provide insights into test results and failures.
Happy Testing! 🎉