testcontainers / testcontainers/testcontainers-java
[Feature]: Application Server Module
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 8.7k
- Fork
- 1.9k
- Merge medio
- 2g 17h
- PR unite (30g)
- 9
Descrizione
Module
New Module
Problem
As a Java test framework, it would be great for the Testcontainers project to expand into the Jakarta EE space by offering an application platform module with application containers.
This would allow application developers the ability to perform functional tests on their applications.
This would allow platform developers the ability to perform integration tests on their platform.
Solution
The solution I am proposing would be to have a new module named application-platform
With an abstract container type of ApplicationContainer
Implementations of this container would come from vendors, for example:
- IBM - Open Liberty
- Apache - Tomcat
- JBoss - Wildfly
- Oracle - Weblogic
- Eclipse - Payara
[WIP] An ApplicationContainer would contain:
abstract ApplicationContainer:
optional configurationFile
optional applicationPackages (pre-compiled from src/ for functional testing)
optional applicationArchives (created from test/ at runtime for integration testing)
required appContextRoot
Benefit
The benefit of having this feature would be to streamline the process of performing functional and integration testing on Jakarta EE platforms.
Alternatives
The direct alternative would be to use a generic container with a bespoke configuration.
The comprehensive alternative would be to use Microshed Testing which isn't being maintained.
The other alternative is Arquillian which has its own concept of "containers" which doesn't use docker as the underlying technology.
Would you like to help contributing this feature?
Yes
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.
Direzione di ricerca
Inizia esaminando le convenzioni esistenti dei moduli Testcontainers e l’ambito proposto per la piattaforma applicativa in questa issue. Il lavoro sarà considerato completato quando saranno disponibili un design condiviso per ApplicationContainer, la sua configurazione e gli input dell’applicazione, oltre a un percorso chiaro per le implementazioni dei vendor come Open Liberty, Tomcat, WildFly, WebLogic e Payara.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, java
- Ambito
- backend, testing
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100