While using WriteCustomizerTest case with combination with HoneycombTestRunner
Preconditons
- Test class extends WriteCustomizerTest
- Test class is using @RunWith(HoneycombTestRunner.class)
- Test class is overriding setUp() from WriteCustomizerTest
Error
error: [JUnit4SetUpNotRun] setUp() method will not be run; Please add a @Before annotation
protected void setUp() throws Exception
Possible solutions
- refactor setup method to different name
- suppress this bug pattern while using WriteCustomizerTest