Tests: add structured Cargo test reports with explicit skip classification #126
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/uiliannn--VItoriaBr!126
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-126"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@fladit123 on GitHub · 2026-11-26 17:32 UTC · original
fladit123:tests/structured-test-report→main· +724 −0 · 6 files · 1 commits · open🇧🇷 Português
Resumo
Adiciona um utilitário independente em PowerShell 7.4+ para gerar relatórios estruturados de testes selecionados do Cargo/libtest, distinguindo os resultados do framework das evidências de cobertura funcional.
Complementa os diagnósticos de adaptador e skips introduzidos pela #43, em resposta às questões levantadas na #32.
Alterações
-TrustHarnesspara seleções previamente revisadas.Validação
Windows 11, PowerShell 7.6.10, Rust 1.98.1 MSVC.
Todos os testes sintéticos e de integração passaram.
Durante a revisão, foi identificado um defeito na implementação inicial: um subprocesso que mantinha os fluxos de saída abertos fazia um timeout de dois segundos durar aproximadamente 8,5 segundos.
Após a correção, a mesma reprodução terminou em 2,042 segundos, retornando código 124 e preservando o código zero original do Cargo.
Os testes permanentes também confirmaram o tratamento de falhas, seleções vazias e interrupções.
A política do repositório aprovou 205 arquivos.
🇺🇸 English
Summary
Adds a standalone PowerShell 7.4+ utility for structured reporting of selected Cargo/libtest runs, distinguishing harness outcomes from evidence of functional coverage.
This complements the adapter identification and explicit skip diagnostics introduced in #43, following the concerns raised in #32.
Changes
-TrustHarnessmode for reviewed test selections.Validation
Windows 11, PowerShell 7.6.10, Rust 1.98.1 MSVC.
All synthetic parser and integration assertions passed.
During review, a timeout defect was independently reproduced in the initial implementation. A two-second deadline took approximately 8.5 seconds when a descendant retained the output streams after Cargo exited.
After correction, the same reproduction returned exit code 124 in 2.042 seconds, preserving Cargo's original exit code of zero and explicitly marking the capture as incomplete.
The permanent integration tests also passed with five-second deadlines:
Repository policy: 205 files checked successfully.
Scope and limitations
Reproduction
AI-assisted development and review with Codex and ChatGPT. All reported validation was performed locally on Windows.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.