JUnit 5 released

5th version of Java module testing framework released 
11 September 2017   2213

5th version of JUnit testing framework released. 

What is JUnit?

JUnit is a unti testing library for Java software.
Created by Kent Beck and Eric Gamma, JUnit belongs to the family of xUnit frameworks for various programming languages originating in the Kent Beck SUnit for Smalltalk. JUnit spawned an ecosystem of extensions - JMock, EasyMock, DbUnit, HttpUnit, and so on.

Functionality 

  • junit.framework.Assert
    • assertEquals
    • assertFalse
    • assertNotNull
    • assertNull
    • assertNotSame
    • assertSame
    • assertTrue
  • junit.framework.TestCase extends junit.framework.Assert
    • run
    • setUp
    • tearDown

What's new in JUnit 5?

Unlike previous versions of JUnit, JUnit 5 is composed of several different modules from three different sub-projects.

JUnit 5 = JUnit Platform + JUnit Jupiter + JUnit Vintage

The JUnit Platform serves as a foundation for launching testing frameworks on the JVM. It also defines the TestEngineAPI for developing a testing framework that runs on the platform. Furthermore, the platform provides a Console Launcher to launch the platform from the command line and build plugins for Gradle and Maven as well as a JUnit 4 based Runner for running any TestEngine on the platform.

JUnit Jupiter is the combination of the new programming model and extension model for writing tests and extensions in JUnit 5. The Jupiter sub-project provides a TestEngine for running Jupiter based tests on the platform.

JUnit Vintage provides a TestEngine for running JUnit 3 and JUnit 4 based tests on the platform.

All changes for all JUnit 5x versions available here

Visit official website for more information.

Apache NetBeans 11.1 to be Available

New version supports Java SE, Java EE, PHP, JavaScript and Groovy; C\C++ support is planned to be implemented in one of the next releases
23 July 2019   322

The Apache Software Foundation has introduced the Apache NetBeans 11.1 integrated development environment. This is the third release prepared by the Apache Foundation after the transfer of NetBeans code by Oracle and the first release after transferring the project from the incubator to the category of primary Apache projects. The release contains support for such programming languages as Java SE, Java EE, PHP, JavaScript and Groovy. The transfer of C / C ++ support from the code base transferred by Oracle is expected in one of the next releases.

  • Added support for Java EE 8 with the ability to build web applications using Maven or Gradle. 
  • Added support for new Java features.
  • Added examples for Gluon OpenJFX;
  • Improved support for Maven and Gradle build systems. 
  • Added the ability to use Graal.js, a JavaScript implementation based on GraalVM;
  • Implemented separation of caches with Truffle code between different debugging sessions;
  • Added syntax highlighting support for Kotlin code;
  • Implemented the ability to autocomplete code patterns in the Jade language;
  • Added PHP 7.4 support and updated PHP examples;
  • Improved performance on high pixel density (HiDPI) screens. The splash screen, tab delimiters and icons that are displayed at startup are adapted for HiDPI;
  • A transition to a new development cycle, involving the quarterly formation of new issues, has been completed.

Get more info at the official website.