• Tutorials
  • Courses
  • Tracks

Question 7

Last Updated :
Discuss
Comments

Which annotation in JUnit 5 is used to run code before all test methods in a test class?

@BeforeAll

@BeforeEach

@Setup

@InitAll

Share your thoughts in the comments