TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - Java Coding Standard
Search

Rule:  JUnit2Checked automatically with code checker

This rule is Obsolete
Synopsis:You may have misspelled a JUnit framework method (setUp or tearDown)
Language:Java
Severity Level:3
Category:JUnit


Description:
Some JUnit framework methods are easy to misspell.
import junit.framework.*;
public class Foo extends TestCase {
 public void setup() {} // oops, should be setUp
 public void TearDown() {} // oops, should be tearDown
}