1. 程式人生 > >Java News & Code #3: JUnit 5, Tomcat and Open Source Sites

Java News & Code #3: JUnit 5, Tomcat and Open Source Sites


Visit the developerWorks Java Hub

Visit the developerWorks Java Hub for more tools and education to future-proof your Java code.

Google Open Source Project Directory

Google announced on March 28th a new home for its open source project code.

Open source has always been a technical cornerstone for Google, and it’s common knowledge that Google has released many open source projects like TensorFlow and Kubernetes. But the problem has been locating all that code.

Until now. The announcement on the Google open source blog includes a link to a new website called opensource.google.com.

Included in the directory are over 2,000 projects. Clicking on the Explore link takes you to the
directory, where you can browse through the different projects.

You can browse by category, as well as full text search.


dw open logo
The Google Open Source Project site follows the 2015 launch of IBM’s developerWorks Open site.

Tomcat 7.0.77, 8.5.13, 9.0.0.M19 Released

Good news, Tomcat lovers, versions 7, 8, and 9 of the popular server software have recently been released.

The main page contains links to download the version you need.

If you’re not sure which version you want to use, or are interested in exploring a newer version, check out the “which version?” page.

Where you can see the version of Servlet, JSP, and other specs that are implemented by that version, along with the version of Java that is supported.

There are lots of great Tomcat resources available on the site as well.

Code Talk-through: JUnit 5

JUnit 5, Milestone 4 was released on April 1st.

JUnit 5 is the next release of the popular open source testing framework, and includes a rearchitecture of the code with the goal of better tool support.

In this episode’s code talkthrough I’d like to show you a simple application I wrote to demonstrate some of the cool new features of JUnit 5.

I will point out three things in this demo:

  • First, the new @DisplayName annotation
  • Second, the assertAll() method, which uses JDK 8 Lambda expressions in the method signature.
  • And finally, support for running JUnit 3, 4 and 5 unit tests side-by-side in the same project.

Github Repo can be found here.

Credits

Music:

Slay Well by Gunnar Olsen, YouTube Audio Library (Free to use for commercial purposes, no attribution required), see YouTube Terms of Service and this YouTube support article for details.

How It Began by Silent Partner, YouTube Audio Library (Free to use for commercial purposes, no attribution required), see YouTube Terms of Service and this YouTube support article for details.

Image: https://pixabay.com/en/tv-television-device-electronic-162002/, free for commercial use, no attribution required. See Pixabay Terms of Service for more information.

相關推薦

Java News & Code #3: JUnit 5, Tomcat and Open Source Sites

Visit the developerWorks Java Hub for more tools and education to future-proof your Java code. Google Open Source Project Directory Google announced on

Kharagpur Winter of Code is a 5-week long, open-source mentoring and coding

Hi! We are organizing third edition of Kharagpur Winter Of Code. If you have any open source project, in which you are not able to contribute due to lack o

Java單元測試工具JUnit 5新特性一覽

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

Java單元測試之JUnit 5快速上手

前言 單元測試是軟體開發中必不可少的一環,但是在平常開發中往往因為專案週期緊,工作量大而被選擇忽略,這樣往往導致軟體問題層出不窮。線上出現的不少問題其實在有單元測試的情況下就可以及時發現和處理,因此培養自己在日常開發中寫單元測試的能力是很有必要的。無論是對自己的編碼能力的提高,還是專案質量的提升,都是大有好處

 Free and Open Source Ad Targeting for Campaigns

Why We Built ItDigital Directors and the political campaigns they run face a unique marketing challenge unlike most businesses — they must reach a wide ran

An Open Code Base Is Not Yet an Open Source Project

A few weeks ago someone suggested I should try to integrate IntelliJ IDEA’s static analysis rules into Qulice, our aggregator of Checkstyle, PMD, FindBugs,

Serverless and Open Source: Where do we Stand Today?

It’s always wonderful to have a look at what’s new in the world of technology. Recently, Cloud Foundry Foundation, a collaborative project with Linux Found

Python, OpenStack, and Open Source

This post is based on the closing keynote I gave for PyTennessee in February 2018, where I talked about how the governance of an open source project imp

Micropackages and Open Source Trust Scaling

Trust and Auditing This leads me to what my actual issue with micro-dependencies is: we do not have trust solved. Every once in a while people will bring

Make an android custom view, publish and open source.

Publish your library:After finish pushing your project to GitHub, there is the last step to get done: publish it so that developers can just add dependency

Java News and Code Episode 14

Welcome Welcome to Java News and Code, where I tell you about interesting goings-on in the world of IT in general, and Java in particular. And there’s

Java News and Code Episode 11

Hyperledger Fabric v1.0 Released on July 11, 2017 Hyperledger Fabric is a framework for building Blockchain applications. It is licensed under the Cre

Java News and Code Episode 10

New open source tools for micro containers Containers are quickly becoming the de facto standard for deploying scalable, high performance applications

Java News and Code #4: When Burger King Attacks

Visit the developerWorks Java Hub for more tools and education to future-proof your Java code. The King Attacks! Burger King on April 2nd released a 15

Java News and Code Episode 12

Adobe Announces EOL for Flash Player On July 25th, Adobe announced it would stop updating and distributing Flash Player at the end of 2020. The announc

Java實現1-2+3-4+5-6...+99

java實現 static else sta sum main code sys oid 1 package test; 2 3 public class test2 { 4 public static void main(String[] args)

java學習——構造類之3!+5!=126

image private clas int() code auto 學習 eth his package my_project; import java.util.Scanner; public class my_first_class { publ

35年工作經驗是如何回答面試中被問到的Java集合框架問題

可能很多人會問Java集合真的那麼重要嗎,就像為什麼現在很多企業都喜歡先問演算法一樣,目的就是考察你對Java基礎掌握的程度如何。下面我將列出了一些關於Java集合的重要問題,讓我們一起看看3到5年的Java開發工程師是如何回答這些問題的。 Java集合中 List、Set、M

目錄 1.1. JVM記憶體模型總體架構圖 1 1.2. JAVA堆 2 1.3. 方法區 元空間(Metaspace) 2 1.4. 虛擬機器棧 3 1.5. 本地方法區 4 2. 垃圾回收演算法 4 2

目錄 1.1. JVM記憶體模型總體架構圖 1 1.2. JAVA堆 2 1.3. 方法區 元空間(Metaspace) 2 1.4. 虛擬機器棧 3 1.5. 本地方法區 4 2. 垃圾回收演算法 4 2.1. 標記-清除演算法(Mark-Sweep) 4