How was the first release of the JDK Unit?

Can someone explain the following

  • How was the first JDK release module tested? Since Junit came after Java, how did they do it?
  • Are current releases using Junit to validate the JDK API?

Hi

+5
source share
3 answers

The JDK is being tested, at least for now, using jtreg . I do not know how to use JUnit to test JDK.

+4
source
  • Unit testing is a concept and practice. This is not a package or its specific implementation (although JUnit has been popularized).

  • , Sun, Oracle:-), . , . , , JDK.

+4

I assume that the first JDKs (pre Java 1.0) were tested using a harness implemented using other technologies; e.g. C, shell scripts, etc.

Of course, Java testing was done in Java long before JUnit appeared. I remember that in the late 1990s, the infrastructure developed at DSTC was developed at DSTC, and a structure called Mauve was used in the GNU Classpath project. The Java Testing Framework is not rocket science.

+2
source

All Articles