@Before: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://junit.org/junit4/javadoc/latest/org/junit/Before.html =Internal= * JUnit =Overview=")
 
Line 8: Line 8:


=Overview=
=Overview=
A method annotated with <code>@Before</code> is executed before '''all''' methods annotated with @Test in a JUnit test class.

Revision as of 19:47, 11 February 2020

External

Internal

Overview

A method annotated with @Before is executed before all methods annotated with @Test in a JUnit test class.