Questo contenuto non è disponibile nella lingua selezionata.

35.3.2. Using SeamTest with another test framework


Seam provides TestNG support out of the box, but you can also use other test frameworks such as JUnit. To do so, you must provide an implementation of AbstractSeamTest that does the following:
  • Calls super.begin() before every test method.
  • Calls super.end() after every test method.
  • Calls super.setupClass() to set up the integration test environment. This should be called prior to any test methods.
  • Calls super.cleanupClass() to clean up the integration test environment.
  • Calls super.startSeam() to start Seam when integration testing begins.
  • Calls super.stopSeam() to cleanly shut down Seam at the end of integration testing.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat