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

Aperta
#1,276 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
docker, rust, sql
Ambito
ci-cd, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Rust
Stelle
2.6k
Fork
175
Merge medio
14h 16m
PR unite (30g)
43

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sqlpage/SQLPage

Tutte le issue di sqlpage/SQLPage

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.