You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Salamon (JIRA)" <ji...@apache.org> on 2019/04/18 09:18:00 UTC
[jira] [Created] (OOZIE-3475) [Umbrella] Migrate junit tests from
JUnit 3 to JUnit 4
Andras Salamon created OOZIE-3475:
-------------------------------------
Summary: [Umbrella] Migrate junit tests from JUnit 3 to JUnit 4
Key: OOZIE-3475
URL: https://issues.apache.org/jira/browse/OOZIE-3475
Project: Oozie
Issue Type: Task
Reporter: Andras Salamon
OOZIE-783 upgraded JUnit 3 to JUnit 4 years ago, but most of out unit tests still use JUnit 3 style.
The following counting is not perfect, but shows the approximate numbers:
{noformat}
$ find . -name "Test*.java" | wc -l
491
$ find . -name "Test*.java" | xargs grep 'extends.*TestCase' -l | wc -l
346
{noformat}
Although there are ways to [automagically|https://stackoverflow.com/q/264680/21348] convert the tests, I don't think we can skip the manual work.
I open this umbrella jira (similarly to OOZIE-3111) so at least we are aware of the problem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)