Instant Eclipse Application Testing How-to

Anatoly Spektor

  • 出版商: Packt Publishing
  • 出版日期: 2013-04-07
  • 售價: $1,000
  • 貴賓價: 9.5$950
  • 語言: 英文
  • 頁數: 62
  • 裝訂: Paperback
  • ISBN: 1782163247
  • ISBN-13: 9781782163244
  • 相關分類: Java 相關技術
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

An easy-to-use guide on how to test Java applications of any scope using Eclipse IDE

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Learn how to install Eclipse and Java for any platform
  • Get to grips with how to efficiently navigate in the Eclipse environment using shortcuts
  • Create your own Java sample app and learn how to test and debug it using a rich set of Eclipse debugging tools
  • Learn how to create an automatic set of tests for your app using the JUnit framework
  • Easyto follow steps backed up by the code and detailed explanations

In Detail

Detecting bugs and flaws in an application is difficult. Eclipse is a multi-language software development environment comprising of an Integrated Development Environment (IDE) and an extensible plugin system. Testing the Eclipse Platform during every build using an extensive suite of automated tests helps in disclosing bugs and rectifying them.

"Instant Eclipse Application Testing How-to" is a quick guide to learning how to test all types of Java applications in an Eclipse environment. This book gives you a step-by-step approach towards application testing and debugging along with optimized sample test projects.

"Instant Eclipse Application Testing How-to" is a hands-on guide that gives developers an insight into how to test Java applications using Eclipse IDE. This book will guide you through the process by allowing you to create a Java application and debug it using a wide variety of Eclipse debugging tools. The book is filled with practical examples, so you will start coding and debugging right away. After reading the book you will be proficient enough to debug Java applications of any scope.

What you will learn from this book

  • Set up Eclipse and Java for your platform
  • Explore the components of Eclipse Debug Perspective
  • Discover how to set up breakpoints
  • Learn what Conditional Breakpoint is and when it is used
  • Use Method and Exceptional Breakpoint
  • Set up Printpoint and Watchpoint
  • Familiarize yourself with the JUnit test framework
  • Code the JUnit test case
  • Learn different methods that can be used for testing inside the JUnit test case
  • Combine JUnit tests into a single JUnit Test Suite

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks .The approach is in a tutorial style that will guide the users in an orderly manner toward application testing.

Who this book is written for

This book is for developers of any level, starting from people who have never used Eclipse and ending with advanced developers who want to switch to Eclipse IDE and start debugging their apps using Eclipse. Most of the recipes in this book are very easy to follow, so no prior knowledge of Eclipse IDE is required. It is advised that the reader has basic knowledge of the Java programming language.

商品描述(中文翻譯)

一本關於如何使用Eclipse IDE測試任何範圍的Java應用程式的易於使用的指南。

概述:
- 在瞬間學習新知識!一本短小、快速、專注的指南,能立即獲得結果。
- 學習如何在任何平台上安裝Eclipse和Java。
- 掌握如何使用快捷鍵在Eclipse環境中高效導航。
- 創建自己的Java示範應用程式,並學習如何使用豐富的Eclipse調試工具進行測試和調試。
- 學習如何使用JUnit框架為應用程式創建自動測試集。
- 通過代碼和詳細解釋提供易於遵循的步驟。

詳細內容:
- 檢測應用程式中的錯誤和缺陷是困難的。Eclipse是一個多語言軟體開發環境,包括整合開發環境(IDE)和可擴展的插件系統。使用廣泛的自動化測試套件在每次構建期間測試Eclipse平台有助於揭示錯誤並修復它們。
- 《Instant Eclipse Application Testing How-to》是一本快速指南,教你如何在Eclipse環境中測試各種類型的Java應用程式。本書提供了一種逐步進行應用程式測試和調試的方法,並提供了優化的示範測試專案。
- 《Instant Eclipse Application Testing How-to》是一本實用指南,讓開發人員深入了解如何使用Eclipse IDE測試Java應用程式。本書將引導您通過創建Java應用程式並使用各種Eclipse調試工具進行調試的過程。本書充滿了實際的示例,因此您可以立即開始編碼和調試。閱讀本書後,您將能夠熟練地調試任何範圍的Java應用程式。

本書將教您以下內容:
- 為您的平台設置Eclipse和Java。
- 探索Eclipse調試視圖的組件。
- 發現如何設置斷點。
- 學習何時使用條件斷點。
- 使用方法和異常斷點。
- 設置打印點和監視點。
- 熟悉JUnit測試框架。
- 編寫JUnit測試案例。
- 學習在JUnit測試案例中可以使用的不同測試方法。
- 將JUnit測試組合成單個JUnit測試套件。

方法:
- 充滿實用的、逐步的指示和清晰的解釋,針對最重要和最有用的任務。本書以教學風格編寫,按照有序的方式引導讀者進行應用程式測試。

本書適合對象:
- 本書適合任何程度的開發人員,從從未使用過Eclipse的人開始,到希望切換到Eclipse IDE並開始使用Eclipse調試其應用程式的高級開發人員。本書中的大多數示例都非常容易遵循,因此不需要事先了解Eclipse IDE。建議讀者具備基本的Java程式語言知識。