Arquillian Testing Guide
暫譯: Arquillian 測試指南
John D. Ament
- 出版商: Packt Publishing
- 出版日期: 2013-04-07
- 售價: $1,710
- 貴賓價: 9.5 折 $1,625
- 語言: 英文
- 頁數: 242
- 裝訂: Paperback
- ISBN: 1782160701
- ISBN-13: 9781782160700
海外代購書籍(需單獨結帳)
商品描述
Get familiarized with the Arquillian framework and its capabilities to carry out integration and functional testing on a Java virtual machine
Overview
- Build effective unit tests and integration using Arquillian and JUnit
- Leverage Arquillian to test all aspects of your application – UI, SOAP and REST based applications
- Run your tests the easy way using Arquillian in a container
In Detail
Integration testing sometimes involves writing complex codes. This book introduces you to the capabilities of Arquillian to enable you to write simple code with a broad range of integration tests for java applications.
Arquillian Testing Guide serves as an introductory book to writing simple codes for testing java applications. This book will help you to develop richer test cases which can be run automatically while performing rigorous testing of the software.
Arquillian Testing Guide introduces you to Arquillians features and capabilities. This book will help you understand the mechanism of creating deployments and test against those deployments. The book begins with basic JUnit test cases beginning with an enterprise test case, which then go on to discuss remote testing. During the course of the book, you will also learn how to mix container and non-container tests into a single test case. By the end of the book, you will have learned how to extend JUnit tests to work with Arquillian and deploy them to a container automatically.
What you will learn from this book
- Develop automated tests using Arquillian and JUnit
- Create tests using Selenium and then execute them paired with Arquillian Drone
- Test using Arquillian Graphene to manipulate the DOM of your web applications
- Learn how to use Arquillian and Spring to automatically wire an application context
- Learn how to deploy your web services and test them automatically using Arquillian and soapUI
Approach
This book is a tutorial filled with plenty of code examples and strategies to give you many options when building your test structure.
Who this book is written for
This book is for developers and testers alike. Anyone who has worked with test driven development or building automated test cases will find use in this book. A reader should be familiar with some automation strategies and techniques such as JUnit and should have some exposure to techniques such as mocking.
商品描述(中文翻譯)
熟悉 Arquillian 框架及其在 Java 虛擬機上進行整合測試和功能測試的能力
概述
- 使用 Arquillian 和 JUnit 建立有效的單元測試和整合測試
- 利用 Arquillian 測試應用程式的所有方面 – 包括 UI、SOAP 和 REST 基礎的應用程式
- 使用 Arquillian 在容器中輕鬆運行測試
詳細內容
整合測試有時涉及編寫複雜的程式碼。本書介紹了 Arquillian 的能力,使您能夠為 Java 應用程式編寫簡單的程式碼,並進行廣泛的整合測試。
《Arquillian 測試指南》作為一本入門書,幫助您編寫簡單的程式碼來測試 Java 應用程式。本書將幫助您開發更豐富的測試案例,這些案例可以在進行嚴格的軟體測試時自動運行。
《Arquillian 測試指南》介紹了 Arquillian 的特性和能力。本書將幫助您理解創建部署和針對這些部署進行測試的機制。本書從基本的 JUnit 測試案例開始,首先介紹企業測試案例,然後討論遠端測試。在本書的過程中,您還將學習如何將容器測試和非容器測試混合到單一測試案例中。在本書結束時,您將學會如何擴展 JUnit 測試以與 Arquillian 一起工作,並自動將其部署到容器中。
您將從本書中學到什麼
- 使用 Arquillian 和 JUnit 開發自動化測試
- 使用 Selenium 創建測試,然後與 Arquillian Drone 配對執行
- 使用 Arquillian Graphene 測試以操作您的網頁應用程式的 DOM
- 學習如何使用 Arquillian 和 Spring 自動連接應用程式上下文
- 學習如何使用 Arquillian 和 soapUI 自動部署您的網路服務並進行測試
方法
本書是一個教程,充滿了大量的程式碼範例和策略,為您在建立測試結構時提供多種選擇。
本書的讀者對象
本書適合開發人員和測試人員。任何曾經從事測試驅動開發或建立自動化測試案例的人都會發現本書的價值。讀者應該熟悉一些自動化策略和技術,例如 JUnit,並對模擬等技術有一定的了解。