Will @Before methods in base class be executed automatically?
"KARR, DAVID" <[email protected]> Mon, 29 Jul 2013 17:50:47 +0000
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <B8D164BED956C5439875951895CB4B22112C5CEB@WABOTH9MSGUSR8C.ITServices.sbc.com> |
If I have a unit test class with a @Before method, and the unit test has a base class that also has a @Before method, when the most-derived class is instantiated, will both @Before methods be executed, most likely base class first?