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

Aberta
#1,276 3 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
docker, rust, sql
Domínio
ci-cd, testing

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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!

Linguagem predominante
Rust
Estrelas
2.6k
Forks
175
Merge médio
14h 16min
PRs com merge (30d)
43

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de sqlpage/SQLPage

Todas as issues de sqlpage/SQLPage

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.