Java Magazine, Jan/Feb 2017
ORACLE COM JAVAMAGAZINE JANUARY FEBRUARY 2017 05 letters to the editor JUnit 5 s Status Thank you for your multiple articles on JUnit in the November December 2016 issue The final delivery of version 5 is now expected to be in the third quarter of 2017 We intend to introduce as few breaking changes as possible especially in the programming model Jupiter API that you covered in your articles We publish detailed release notes in our User Guide for people upgrading from existing milestones We would love to get the remaining work done as quickly as possible However we are very short on time at the moment As you probably know we had some initial funding through a crowdfunding campaign but that was merely a start If there is a company out there with a strong interest in Java and JUnit that would like to help out we would certainly be open to discussing possible options if it reached out to us Marc Philipp JUnit 5 team JUnit 5 What Is It I want to know a little more about JUnit 5 What does JUnit 5 actually do Nikhil Deshmukh Indeed we did not provide any basic introduction to JUnit in part because it is an almost universal tool in Java development To quote the entry in Wikipedia JUnit is a unit testing framework for the Java programming language JUnit has been important in the development of test driven development and is one of a family of unit testing frameworks In a nutshell its the primary tool by which Java developers test their own code before checking it in Missing Class In the article Implementing Design Patterns with Lambdas in the November December 2016 issue I think you should explain where the class OnlineBankingLambda came from as it is not included in the source code Carlos Carvajal This article was excerpted from the book Java 8 in Action whose lead author Raoul Gabriel Urma replies For the code example the learning outcome is really about the method processCustomer itself the template method pattern and how it can be parameterized with a behavior The class OnlineBankingLambda is not important actually it doesnt matter what its implementation is as long as it declares the processCustomer method Youll find in the book that its pre Java 8 parent class is abstract class OnlineBanking public void processCustomer int id Customer c Database getCustomerWithId id makeCustomerHappy c abstract void makeCustomerHappy Customer c After introducing the refactoring with behavior parameterization it becomes abstract class OnlineBanking public void processCustomer int id Consumer Customer makeCustomerHappy NETBEANS FATE 03 DESIGN PATTERNS IN JAVA 8 55 CLOUD PROGRAMMING 63 JUNIT 5 EXTENSIONS 25 MUTATION TESTING 43 RUNNING TESTS FROM JUNIT 4 AND 5 20 WHATS NEW IN JUNIT 5 14 KENT BECK ON HIS EVOLVING VIEWS OF TESTING 36 NOVEMBER DECEMBER 2016 JUnit 5 Arrives SPECIAL ISSUE ORACLE COM JAVAMAGAZINE magazine By and for the Java community NOVEMBER DECEMBER 2016
You must have JavaScript enabled to view digital editions.