RepositoryJavaScript
Shelex

Shelex/cypress-allure-plugin-example

example of cypress + cypress-allure-plugin + github action as CI + allure hosted as github page, report:

53sao
29fork
1issue
2lượt xem

📊 Cách dùng Cypress + Allure + GitHub Actions để tự động hóa test

Dự án cung cấp ví dụ đầy đủ về việc tích hợp Cypress với cypress-allure-plugin, chạy test qua GitHub Actions và triển khai báo cáo Allure trên GitHub Pages.

Dự án cypress-allure-plugin-example của Shelex là một ví dụ thực tế cho thấy cách cấu hình và sử dụng cypress-allure-plugin để sinh báo cáo Allure chi tiết sau khi chạy test. Báo cáo sẽ được tự động tạo ra bởi GitHub Actions trên mỗi lần đẩy mã và được host trên GitHub Pages.

✨ Điểm nổi bật

  • Tích hợp Cypress + Allure: Dễ dàng thêm cypress-allure-plugin vào dự án Cypress để ghi nhận kết quả test chi tiết.
  • CI bằng GitHub Actions: Tự động chạy test và tạo báo cáo Allure mỗi khi có thay đổi trên nhánh chính.
  • Lưu trữ lịch sử báo cáo: Dữ liệu lịch sử được giữ lại, giúp các biểu đồ so sánh giữa các lần chạy test.
  • Host trên GitHub Pages: Báo cáo Allure được đăng tại đây để dễ chia sẻ và truy cập.
  • Hỗ trợ Cucumber tags tự động hoàn thiện: Tích hợp với VS Code và extension Cypress Helper để hỗ trợ gõ nhanh các thẻ Allure.
  • Cài đặt đơn giản: Chỉ cần cài đặt Allure (qua Java hoặc npm), clone repo, cài đặt dependencies và chạy lệnh.

💡 Vì sao đáng chú ý

Không phải ai cũng biết cách thiết lập đầy đủ luồng từ viết test Cypress đến khi nhận được báo cáo Allure trên trình duyệt. Dự án này giúp người dùng nhanhan chóng nắm bắt cấu hình cần thiết, kể cả việc thiết lập CI/CD với GitHub Actions và cách triển khai báo cáo lên GitHub Pages.

Đặc biệt hữu ích cho các nhóm QA hoặc dev muốn áp dụng Allure nhưng chưa rành về cách cấu hình môi trường. Dự án còn hỗ trợ tích hợp với Cucumber nếu bạn dùng phong cách viết test dạng behavior-driven.


#Cypress #AllureReport #GitHubActions #TestAutomation #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryJavaScript
Shelex/cypress-allure-plugin

cypress plugin to use allure reporter api in tests

170
May 17, 2025
RepositoryJavaScript
abramenal/cypress-file-upload

File upload testing made easy

493
May 30, 2023
RepositoryJavaScript
meinaart/cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io

493
Sep 16, 2026
RepositoryJavaScript
bahmutov/cypress-failed-log

Saves the Cypress test command log as a JSON file if a test fails

195
Jun 6, 2026
RepositoryJavaScript
elaichenkov/cy-verify-downloads

Cypress custom command to wait and verify that file has been downloaded

71
Jan 26, 2026
RepositoryJavaScript
cypress-io/github-action

GitHub Action for running Cypress end-to-end & component tests

1.5k
Nov 25, 2026
RepositoryJavaScript
LironEr/cypress-mochawesome-reporter

Zero config Mochawesome reporter for Cypress with screenshots and videos

185
Oct 2, 2026
RepositoryJavaScript
cypress-io/cypress-xpath

Adds XPath command to Cypress test runner

145
Oct 13, 2022
RepositoryJavaScript
bahmutov/next-and-cypress-example

Next.js example instrumented for code coverage from Cypress tests

137
Nov 14, 2026