Mastering Java 11
上QQ阅读APP看书,第一时间看更新

HotSpot C++ unit-test framework 

HotSpot is the name of the JVM. This Java enhancement was intended to support the development of C++ unit tests for the JVM. Here is a partial, non-prioritized, list of goals for this enhancement:

  • Command line testing
  • Creating appropriate documentation
  • Debugging compile targets
  • Framework elasticity
  • IDE support
  • Individual and isolated unit testing
  • Individualized test results
  • Integrating with existing infrastructure
  • Internal test support
  • Positive and negative testing
  • Short execution time testing
  • Supporting all JDK 9 build platforms
  • Test compile targets
  • Test exclusion
  • Test grouping
  • Testing that requires the JVM to be initialized
  • Tests co-located with source code
  • Tests for platform-dependent code
  • Writing and executing unit testing (for classes and methods)

This enhancement is evidence of the increasing extensibility.