Upgrade Wicket's tests to JUnit4
--------------------------------
Key: WICKET-3979
URL: https://issues.apache.org/jira/browse/WICKET-3979
Project: Wicket
Issue Type: Task
Affects Versions: 1.5-RC5.1
Reporter: Martin Grigorov
Assignee: Martin Grigorov
I'd like to upgrade all Wicket tests to JUnit4 to be able to categorize them
(JUnit Category - http://kentbeck.github.com/junit/doc/ReleaseNotes4.8.html) -
slow and fast tests.
Currently org.apache.wicket.WicketTestCase (wicket-core) uses our custom
org.apache.wicket.WicketJUnitRunner to be able to run both JUnit 3 and 4 based
tests. I noticed that we have few more WicketTestCase classes spread in the
other modules (copy/pasted). Maybe it will be good idea to introduce new module
in testing/ folder which will be used as test dependency from all other
modules. This new module will contain the custom JUnit runner, WicketTestCase,
the licence test mini-framework, the XML well-formed test mini-framework, ...
This way wicket-util:test wont be used as test dependency by others and will
contain only its tests.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira