Vortrag: Testing in the Modular World

Christian Stein (Micromata GmbH) auf der Accento Conference Karlruhe

Accenco Conference Karlsruhe 2019
(PresseBox) ( Kassel, )
  • Vortrag: Testing in the Modular World
  • Speaker: Christian Stein (Micromata)
  • Wann: 24. September um 14:00 Uhr
  • Wo: Südwerk, Henriette-Obermüller-Straße 10, 76137 Karlsruhe
The Java Platform Module System (JPMS) introduced with Java 9 poses new challenges when it comes to organizing and executing automated software tests. Finding tests and executing them via the reflection API is still possible but needs some extra configuration. JUnit 5 supports scanning for tests in modules since 5.1 and has a sample project that demonstrates three possible approaches.

The talk starts with a basic introduction to JUnit 5 and the Java module system before presenting the three approaches for executing tests when using the JPMS from the command line:
  • Resorting to the class path
  • Patching test binaries into main modules at runtime
  • Patching main sources into test modules at compile time
  • It closes with an outlook:
  • Are there variations or other approaches?
  • How do build tools support you?
  • What are best practices in IDEs?
  • Happy modular testing!
About the Speaker:

Christian Stein is an open source software developer who is programming with Java since 1998. He has a passion for automated testing and joined the core JUnit Team in 2017, is an active Apache Maven developer, and was granted OpenJDK Author status in 2019. He lives in Bonn, Germany and works for MICROMATA GmbH.

Find out more about it here: https://2019.accento.dev/
The publisher indicated in each case is solely responsible for the press releases above, the event or job offer displayed, and the image and sound material used (see company info when clicking on image/message title or company info right column). As a rule, the publisher is also the author of the press releases and the attached image, sound and information material.
The use of information published here for personal information and editorial processing is generally free of charge. Please clarify any copyright issues with the stated publisher before further use. In the event of publication, please send a specimen copy to service@pressebox.de.