Unit test method must

1. Must add @Test annotation

2. Must use public permissions

3. Must use void as the return value type

4. The parameter list must be empty

Example:

@Test
public void aa(){
}

 

Guess you like

Origin www.cnblogs.com/caoxingchun/p/12683320.html