diff options
author | Yohann Roussel <yroussel@google.com> | 2014-03-19 16:25:37 +0100 |
---|---|---|
committer | Yohann Roussel <yroussel@google.com> | 2014-03-20 15:13:33 +0100 |
commit | 4eceb95409e844fdc33c9c706e1dc307bfd40303 (patch) | |
tree | ee9f4f3fc79f757c79081c336bce4f1782c6ccd8 /junit4/done.txt | |
parent | 3d2402901b1a6462e2cf47a6fd09711f327961c3 (diff) | |
download | toolchain_jack-4eceb95409e844fdc33c9c706e1dc307bfd40303.tar.gz toolchain_jack-4eceb95409e844fdc33c9c706e1dc307bfd40303.tar.bz2 toolchain_jack-4eceb95409e844fdc33c9c706e1dc307bfd40303.zip |
Initial Jack import.
Change-Id: I953cf0a520195a7187d791b2885848ad0d5a9b43
Diffstat (limited to 'junit4/done.txt')
-rw-r--r-- | junit4/done.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/junit4/done.txt b/junit4/done.txt new file mode 100644 index 00000000..0a89d462 --- /dev/null +++ b/junit4/done.txt @@ -0,0 +1,50 @@ +* name space of JUnit4 is org.junit +* JUnit4 requires J2SE 5.0 + leverage J2SE 5.0 features +* @Test annotation + @Test(expected=IndexOutOfBoundsException.class) + @Test(timeout= 1000) +* @Ignore(reason= "...") +* @Before, @After setup/teardown +* @BeforeClass, @AfterClass one-time setup/teardown +* provide ForwardCompatibility so that existing test Runners can + run JUnit4 tests: + public static junit.framework.Test suite() { + return new JUnit4TestAdapter(ListTest.class); + } +* add assertEquals(Object[], Object[]) +* Add backward compatibility for old JUnit tests in the new Runner +* support the assert keyword and use AssertionError +* remove the old graphical runners +* simplify: get rid of failures and errors distinction +* Annotation for runner strategy +* Parameterized test +* Should RunNotifier be API? +* Runner should be abstract class. +* Run single method with @BeforeClass and @AfterClass +* Stopping a test run (there was support for this in 3.8 - TestResult.shouldStop()) + +* Suite annotation example: + @Suite(tests={MoneyTest.class, SimpleTest.class}) + or with filters + @Suite(pattern="*Test"} + @Suite(package="org.junit.test.*") + @Suite + +* be able to run all tests simply from the command line +* get rid of JUnit4TestCaseAdapter (use JUnit4RunnerStrategy in JUnit4TestAdapter) +* enable tighter and more flexible IDE integration + * enable test reordering/prioritization + * test categorization & filtering (<- seems like a runner issue) @Category(short, integration) @Test(category=windowsOnly) +* make sure TestListener is symmetric and meets needs of runner developers + * TestRunEvent +* Decide how we ship JUnit-- 1.5 only or hybrid + * README.html +* add javadoc to API interfaces and Annotations + http://java.sun.com/j2se/javadoc/writingapispecs/index.html +* Merge branch back into head +* review Ant scripts +* make suites simpler for both the IDE providers and the users +* ClassRequest should search up the hierarchy for the requested Class to look for @RunWith + +
\ No newline at end of file |