Skip to content

mkyong.com

  • Spring Boot
  • Java Virtual Threads
  • Contact
  1. Home /
  2. testng config

Tag: testng config

u
unit test May 10, 2009 4 min read by mkyong 14 comments

TestNG – Configuration Annotations Example

In TestNG, we can use the following annotations to do the configuration for your test class, like setup / clean a database, preparing the dummy data, deploy / shut down the server and etc. @BeforeSuite – For suite test, run before all tests in this suite have run. @AfterSuite – For suite test, run after […]

Read more TestNG – Configuration Annotations Example

Java and Spring tutorials since 2008. Every example is a complete, runnable file, compiled and run on a real machine before it goes out.

About This Site

  • About
  • Editorial Policy
  • Contact
  • Code License
  • Privacy Policy
  • Terms of Use

© 2026 mkyong.com — Powered by WordPress

RSS