Enhance "traditional" test flow support/tooling
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- ci-cd, documentation, testing
Direzione di ricerca
Inizia cercando nella documentazione di OpenLiberty informazioni su liberty:dev, -DhotTests e i report di Surefire/Failsafe, quindi esamina le indicazioni esistenti per eseguire test su un server in esecuzione. Il lavoro sarà considerato completato quando sarà disponibile un workflow documentato e supportato oppure una raccomandazione chiara; qualsiasi strumento basato su annotazioni richiederebbe una decisione dei maintainer sull’ambito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi folks!
I am unsure on whether this is a feature request or just an inquiry yet as per my search on the documentation I wasn't able to find what I need.
Context:
OpenLiberty is great and it provides a lot of nice tooling which makes developer life easier (once you get used to it that is) yet at the same time it breaks a lot of the "standards" for traditional maven projects, i.e: running the tests against the live server of the application, to do so it is quite simple, just ./mvnw liberty:dev press enter and voila your test run against a live server of your application you can even do that with a single command by passing the -DhotTests flag.
The "problem" arise when you try to get the test reports (like those of surefire/failsafe) as you would do "traditionally" by running mvn test. That command starts, do its thing and, ends, this is great to add it as a step on your CI/CD pipeline, you just add such a step and when it ends your pipeline knows its time to move to the next step, liberty:dev does not make it as simple, specially since it is unclear when its a good time to stop the application after testing. The way I see it, you would either need to set up a timer or capture the output to find specific strings.
Other frameworks have solved this by creating an annotation that would start the server when the tests are running allowing true integration tests without much hassle, see @HelidonTest and @QuarkusTest, they also provide the benefit of starting the server at a random port, allowing for the same worker to run multiple instances of the project (lets say two MR analysis running in parallel on the same computer) without having the ports conflicting.
I hardly doubt I am the first one facing this issue so recommendations would be nice here, and in case its not maybe document such usage.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 14
- Fork
- 58
- Merge medio
- 1h
- PR unite (30g)
- 25
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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 OpenLiberty/docs
-
**DRAFT** Document Replace the Channel Framework with NettyForse già presa @mrsaldana l’ha presa 12 giorni fa. Aperta
OpenLiberty/docs#8586 · 3 assegnatari ·
I maintainer di solito rispondono entro 1 giorno
-
26.0.0.12
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
OpenLiberty/docs#8548 ·
I maintainer di solito rispondono entro 1 giorno
-
Documentation, JWT Builder Workload Identity and JWK RotationForse già presa @ramkumar-k-9286 l’ha presa 3 giorni fa. Aperta26.0.0.12
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
OpenLiberty/docs#8529 · 6 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Document the new set of Liberty container images based on UBI Micro (26.0.0.9)Forse di nuovo libera @jantley-ibm l’ha presa 84 giorni fa e non c’è nessuna pull request aperta. Aperta26.0.0.12
OpenLiberty/docs#8499 · 8 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
OpenLiberty/docs#8336 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OpenLiberty/docs
Issue simili
-
low-priority
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
terrakube-io/terrakube#3883 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
LucasSantana-Dev/Lucky#2983 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:client area:server chore good first issue track:tech
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
eclipse-score/cicd-actions#79 ·
I maintainer di solito rispondono entro 1 giorno