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.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat