Skip to content
Newer
Older
100644 50 lines (46 sloc) 1.93 KB
478f7f9 Merged with branch, Kent will make final changes and launch.
dsaff authored
1 * name space of JUnit4 is org.junit
2 * JUnit4 requires J2SE 5.0
3 leverage J2SE 5.0 features
4 * @Test annotation
5 @Test(expected=IndexOutOfBoundsException.class)
6 @Test(timeout= 1000)
7 * @Ignore(reason= "...")
8 * @Before, @After setup/teardown
9 * @BeforeClass, @AfterClass one-time setup/teardown
10 * provide ForwardCompatibility so that existing test Runners can
11 run JUnit4 tests:
12 public static junit.framework.Test suite() {
13 return new JUnit4TestAdapter(ListTest.class);
14 }
15 * add assertEquals(Object[], Object[])
16 * Add backward compatibility for old JUnit tests in the new Runner
17 * support the assert keyword and use AssertionError
18 * remove the old graphical runners
19 * simplify: get rid of failures and errors distinction
20 * Annotation for runner strategy
21 * Parameterized test
22 * Should RunNotifier be API?
23 * Runner should be abstract class.
24 * Run single method with @BeforeClass and @AfterClass
25 * Stopping a test run (there was support for this in 3.8 - TestResult.shouldStop())
26
27 * Suite annotation example:
28 @Suite(tests={MoneyTest.class, SimpleTest.class})
29 or with filters
30 @Suite(pattern="*Test"}
31 @Suite(package="org.junit.test.*")
32 @Suite
33
34 * be able to run all tests simply from the command line
35 * get rid of JUnit4TestCaseAdapter (use JUnit4RunnerStrategy in JUnit4TestAdapter)
36 * enable tighter and more flexible IDE integration
37 * enable test reordering/prioritization
38 * test categorization & filtering (<- seems like a runner issue) @Category(short, integration) @Test(category=windowsOnly)
39 * make sure TestListener is symmetric and meets needs of runner developers
40 * TestRunEvent
41 * Decide how we ship JUnit-- 1.5 only or hybrid
65d6b62 Patched javadoc, thanks to Matthias Schmidt
dsaff authored
42 * README.html
43 * add javadoc to API interfaces and Annotations
44 http://java.sun.com/j2se/javadoc/writingapispecs/index.html
45 * Merge branch back into head
46 * review Ant scripts
47 * make suites simpler for both the IDE providers and the users
48 * ClassRequest should search up the hierarchy for the requested Class to look for @RunWith
49
478f7f9 Merged with branch, Kent will make final changes and launch.
dsaff authored
50
Something went wrong with that request. Please try again.