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

Offen
#1,276 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
docker, rust, sql
Bereich
ci-cd, testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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!

Vorherrschende Sprache
Rust
Sterne
2.6k
Forks
175
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
43

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus sqlpage/SQLPage

Alle Issues in sqlpage/SQLPage

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.