Eleva cobertura de testes para 75%#85
Merged
leonelsanchesdasilva merged 1 commit intoJun 15, 2026
Merged
Conversation
Coverage report
Test suite run success200 tests passing in 20 suites. Report generated by 🧪jest coverage report action from 7c98b59 |
2942eba
into
DesignLiquido:principal
3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolve #68.
Este PR eleva a cobertura geral de testes acima de 75% com testes focados para:
RequisicaoeResposta;AutoDocumentador;@rest.resposta.Tambem corrige um erro encontrado durante a reproducao do caminho valido de
@rest.resposta: o codigo tentava escrever emcontentantes de inicializar/mapear a estrutura de resposta.Reproduction
A issue pede cobertura de testes de pelo menos 75%. Antes desta alteracao, a suite ficava abaixo disso. A nova cobertura verificada localmente chega a:
Scope and minimality
O patch e focused e minimal: adiciona only testes de infraestrutura e uma correcao pequena no
AutoDocumentadornecessaria para o teste positivo de resposta OpenAPI passar.No unrelated changes em CLI, roteamento, scaffold de projetos ou dependencias.
Validation
Commands executed and passed:
Validation result: 20 suites passed, 200 tests passed, cobertura geral acima de 75%.
Known limits and non-goals
Este PR nao tenta elevar cobertura de branches para 75% e nao reescreve os caminhos de parsing/importacao real de controladores. Os testes do
AutoDocumentadorusam uma subclasse de teste para exercitar metodos protegidos de forma deterministica.Issue/bounty binding: github-search:#68.