Unit Test of standard lib
semyon.sadetsky at oracle.com
Wed Oct 26 21:36:47 UTC 2016
On 10/26/2016 11:43 PM, Abdessamed MANSOURI wrote:
> Hello all,
> I was looking about how Java do unit tests of its standard library and i've
> found in the code source of OpenJDK unit tests under test folder, my
> question is why Java uses direct unit tests (using main) and it doesn't use
> a powerfull framework as JUnit? i think it is possible to use it because
> unit tests of standard lib are already written in Java.
There may be license incompatibility.
In general GPL v2 (OpenJDK) is not compatible with EPL (JUnit) and
Apache 2.0 (TestNG).
More information about the discuss