Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

See all validation errors at once with something liike assertsSoftly { ... }

Aberta
#97 1 comentário 1 reação 0 responsáveis Ver no GitHub

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
Estagnada
Stack de tecnologia
github-actions, kotlin
Domínio
ci-cd, devops

Direção de pesquisa

Start at the workflow() entry point and review the linked Kotest soft-assertions documentation for the requested behavior. The issue names no files or tests, so trace how workflow validation currently reports failures. Done means one workflow run can report all validation errors instead of stopping at the first one.

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

Descrição

enhancement

What feature do you need?

From https://kotest.io/docs/assertions/soft-assertions.html:

Normally, assertions like shouldBe throw an exception when they fail. But sometimes you want to perform multiple assertions in a test, and would like to see all of the assertions that failed. Kotest provides the assertSoftly function for this purpose.

assertSoftly {
  foo shouldBe bar
  foo should contain(baz)
}

It would be nice to have something like assertSoftly inside the workflow() function
so that we could see all validation errors for the workflow at once,
instead of having to do a compilation-run cycle for each one.

Linguagem predominante
Kotlin
Estrelas
664
Forks
30
Merge médio
4d 19h
PRs com merge (30d)
5

Guia de contribuição

Abrir o guia de contribuição

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 typesafegithub/github-workflows-kt

Todas as issues de typesafegithub/github-workflows-kt

Issues semelhantes

Mais issues de Kotlin

Receba novas issues na sua caixa de entrada

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