Feature Request: Add Support or Guidelines for Automated Testing in CI/CD (e.g., GitLab CI)

Đang mở
#1,276 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
docker, rust, sql
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

The issue describes testing SQLPage applications in CI/CD but does not identify implementation files, tests, or an entry point. First clarify whether the project wants built-in testing support, documented best practices, or example tooling; then inspect the relevant testing and CI configuration. Done should mean the agreed approach is documented or implemented with a way to verify application pages and fail on errors.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Hello,

I would like to know if there is a recommended way to test a SQLPage application in a CI/CD pipeline, similarly to unit or integration tests.

Our goal is to prevent broken commits from being deployed. Ideally, we would like to:

  • Include a lightweight or mock database (with sample data) directly in the repository
  • Spin up SQLPage in a temporary Docker environment during CI execution
  • Run automated checks (e.g., using curl) against key application pages
  • Optionally expose a dedicated “test” page that aggregates important queries or features
  • Fail the CI pipeline if any of these checks return an error (non-200 HTTP status, invalid output, etc.)

This would act as a basic quality gate to ensure the application is functional before deployment.

Does SQLPage provide (or plan to provide):

  • Built-in support for testing or validation?
  • Best practices or examples for CI/CD integration?
  • Any recommended tooling for this kind of validation?

Thanks in advance for your help!

Best Regards!

Ngôn ngữ chính
Rust
Star
2.6k
Fork
175
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
43

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sqlpage/SQLPage

Tất cả issue của sqlpage/SQLPage

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.