Mastering Software Testing with JUnit 5
暫譯: 精通 JUnit 5 軟體測試

Boni Garcia

  • 出版商: Packt Publishing
  • 出版日期: 2017-10-30
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 350
  • 裝訂: Paperback
  • ISBN: 1787285731
  • ISBN-13: 9781787285736
  • 相關分類: Java 相關技術JUnit軟體測試
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Key Features

  • In-depth coverage of Jupiter, the new programming and extension model provided by JUnit 5
  • Integration of JUnit 5 with other frameworks such as Mockito, Spring, Selenium, Cucumber, and Docker
  • Best practices for writing meaningful Jupiter test cases

Book Description

When building an application it is of utmost importance to have clean code, a productive environment and efficient systems in place. Having automated unit testing in place helps developers to achieve these goals. The JUnit testing framework is a popular choice among Java developers and has recently released a major version update with JUnit 5.

This book shows you how to make use of the power of JUnit 5 to write better software.

The book begins with an introduction to software quality and software testing. After that, you will see an in-depth analysis of all the features of Jupiter, the new programming and extension model provided by JUnit 5. You will learn how to integrate JUnit 5 with other frameworks such as Mockito, Spring, Selenium, Cucumber, and Docker.

After the technical features of JUnit 5, the final part of this book will train you for the daily work of a software tester. You will learn best practices for writing meaningful tests. Finally, you will learn how software testing fits into the overall software development process, and sits alongside continuous integration, defect tracking, and test reporting.

What you will learn

  • The importance of software testing and its impact on software quality
  • The options available for testing Java applications
  • The architecture, features and extension model of JUnit 5
  • Writing test cases using the Jupiter programming model
  • How to use the latest and advanced features of JUnit 5
  • Integrating JUnit 5 with existing third-party frameworks
  • Best practices for writing meaningful JUnit 5 test cases
  • Managing software testing activities in a living software project

About the Author

Boni García has a PhD degree on Information and Communications Technology from Technical University of Madrid (UPM) in Spain since 2011. Currently he works as a Researcher at King Juan Carlos University (URJC) and Assistant Professor at Digital Art and Technology University (U-tad) in Spain. He is member of Kurento project, where he is in charge of the testing framework for WebRTC applications. He participates in the coordination of the ElasTest project, an elastic platform aimed to ease end-to-end testing. Boni is an active member on the free open source software (FOSS) community with big emphasis on software testing and web engineering. Among other, he owns the open source projects WebDriverManager and selenium-jupiter (JUnit 5 extension for Selenium).

Table of Contents

  1. Retrospective on software quality and Java testing
  2. What’s new in JUnit 5
  3. JUnit 5 standard tests
  4. Simplifying testing with advanced JUnit features
  5. Integration of JUnit 5 with external frameworks
  6. From requirements to test cases
  7. Testing management

商品描述(中文翻譯)

**主要特點**
- 深入探討 Jupiter,JUnit 5 提供的新程式設計和擴展模型
- JUnit 5 與其他框架的整合,如 Mockito、Spring、Selenium、Cucumber 和 Docker
- 撰寫有意義的 Jupiter 測試案例的最佳實踐

**書籍描述**
在構建應用程式時,擁有乾淨的程式碼、生產力環境和高效的系統至關重要。實施自動化單元測試有助於開發人員實現這些目標。JUnit 測試框架是 Java 開發人員的熱門選擇,最近推出了主要版本更新 JUnit 5。

本書展示了如何利用 JUnit 5 的強大功能來撰寫更好的軟體。

本書首先介紹軟體質量和軟體測試。接下來,您將深入分析 Jupiter 的所有特性,這是 JUnit 5 提供的新程式設計和擴展模型。您將學習如何將 JUnit 5 與其他框架整合,如 Mockito、Spring、Selenium、Cucumber 和 Docker。

在介紹 JUnit 5 的技術特性後,本書的最後部分將訓練您成為一名軟體測試人員的日常工作。您將學習撰寫有意義測試的最佳實踐。最後,您將了解軟體測試如何融入整體軟體開發過程,並與持續整合、缺陷追蹤和測試報告並行。

**您將學到的內容**
- 軟體測試的重要性及其對軟體質量的影響
- 測試 Java 應用程式的可用選項
- JUnit 5 的架構、特性和擴展模型
- 使用 Jupiter 程式設計模型撰寫測試案例
- 如何使用 JUnit 5 的最新和先進特性
- 將 JUnit 5 與現有的第三方框架整合
- 撰寫有意義的 JUnit 5 測試案例的最佳實踐
- 在活躍的軟體專案中管理軟體測試活動

**關於作者**
**Boni García** 自 2011 年起在西班牙馬德里理工大學 (UPM) 獲得資訊與通信技術博士學位。目前,他在胡安卡洛斯國王大學 (URJC) 擔任研究員,並在數位藝術與科技大學 (U-tad) 擔任助理教授。他是 Kurento 專案的成員,負責 WebRTC 應用程式的測試框架。他參與 ElasTest 專案的協調,這是一個旨在簡化端到端測試的彈性平台。Boni 是自由開源軟體 (FOSS) 社群的活躍成員,特別強調軟體測試和網頁工程。他擁有的開源專案包括 WebDriverManager 和 selenium-jupiter(JUnit 5 的 Selenium 擴展)。

**目錄**
1. 軟體質量與 Java 測試的回顧
2. JUnit 5 的新特性
3. JUnit 5 標準測試
4. 使用先進的 JUnit 特性簡化測試
5. JUnit 5 與外部框架的整合
6. 從需求到測試案例
7. 測試管理