See all validation errors at once with something liike assertsSoftly { ... }
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Kotlin
- Stelle
- 664
- Fork
- 30
- Merge medio
- 4g 19h
- PR unite (30g)
- 5
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di typesafegithub/github-workflows-kt
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
typesafegithub/github-workflows-kt#2389 · 7 commenti ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
typesafegithub/github-workflows-kt#2368 · 1 commento ·
-
problem
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
typesafegithub/github-workflows-kt#2348 · 2 commenti ·
-
operational
typesafegithub/github-workflows-kt#1884 · 1 assegnatario ·
-
problem
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
typesafegithub/github-workflows-kt#1864 · 5 commenti ·
Tutte le issue di typesafegithub/github-workflows-kt
Issue simili
-
Bug Java Platform: Java
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/sentry-java#6138 · 1 commento ·
-
Icon Requests Apertasupported
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
LawnchairLauncher/lawnicons#4100 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Good First Issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ankidroid/Anki-Android#21942 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
libre-tube/LibreTube#8781 · 1 commento ·