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

未关闭
#1,276 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
docker, rust, sql
领域
ci-cd, testing

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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!

主要语言
Rust
星标
2.6k
派生
175
平均合并
14 小时 16 分钟
30 天内合并 PR
43

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sqlpage/SQLPage 的其他 Issue

查看 sqlpage/SQLPage 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。