Book Name: | Java Testing and Design: From Unit Testing to Automated Web Tests |
Category: | Java Books |
Free Download: | Available |
Java Testing and Design: From Unit Testing to Automated Web Tests
This is a handy book for software developers working on Java and J2EE-based Web-enabled applications, including Web Services. Frank Cohen is the “go-to” guy for enterprises needing to design, build, and test complex information systems. The author helps you go beyond learning the language to understand how design choices impact scalability, functionality, and performance. Your application might run flawlessly in the lab but crashes in production. Or, you might already know Java but don’t understand why your application runs so slowly. If that is the case, this book will help you better understand your application and optimize it for maximum performance.
Book Description
Java Testing and Design: From Unit Testing to Automated Web Tests teaches you a fast and efficient method to build production-worthy, scalable, and well-performing Web-enabled applications. The techniques, methodology, and tools presented in this book will enable developers, QA technicians, and IT managers to work together to achieve unprecedented productivity in development and test automation.
With Java Testing and Design, you will be prepared for a laundry list of new APIs, protocols, and tools being packed into the next generation of J2EE, .NET, and open-source systems. While these new software libraries, tools, and techniques are a significant move forward for all of us, they push us to learn even more technology to turn out complex, highly functional, and interoperable software applications.
About the Authors
FRANK COHEN is the “go-to” guy when enterprises need to understand and solve problems in complex interoperating information systems, especially Web Services. Frank is the Founder of PushToTest, a test automation solutions business, and maintainer of the popular TestMaker open-source project. For 25 years, he has led some of the software industry’s most successful products, including Norton Utilities for Macintosh, Stacker, and SoftWindows.
I love a good technical book. Over the years I’ve bought a lot of them. Some have been the kind of book that is a detailed reference guide to a particular topic. Others are an introduction to new technology or a new way of doing something. Java Testing and Design (JTD) covers testing services’ high-level issues and gives you code-level examples.
The book aims to make this case: Delivering service excellence requires a new level of cooperation between software developers, QA technicians, and IT managers.
- JTD defines services as any software application accessible over a routed network using open protocols.
- JTD is a book about testing services, including Web applications, Service Oriented Applications, and n-tier applications.
- JTD begins with testing methodology, covers protocols and architecture decisions, and delivers code-level examples in TestMaker scripts.
TestMaker is a framework and utility composed of several open-source libraries and tools. The book uses TestMaker to show you by example how to accomplish testing tasks. The models can easily be applied to other testing tools, languages, and platforms.
For example, chapter 7 talks about developers’ move from HTTP applications through XML-RPC and into SOAP-based Web Services. The chapter shows why XML-RPC is an excellent and appropriate application for XML-RPC. It then covers the things that typically go wrong with XML-RPC to give you some thoughts on how to test an XML-RPC application. The chapter then presents a TestMaker script to make an XML-RPC call. TestMaker uses the Apache XML-RPC library. So, the example script shows how Apache XML-RPC could also be used in a Java application.
The book breaks down into three parts: JTD starts with an understanding of the reasons the existing testing methodologies fail to deliver excellent services. This part describes a test methodology and several techniques for measuring service excellence. The second part introduces the technologies used to provide scalably and well-performing services, makes a case for where they are appropriately used, discusses the problems, and then shows a how-to example in code. The third part of JTD shows three case studies of how the methodology is applied to solving enterprise scalability, regression, functionality, and quality-of-service problems in information services.
I recommend Java Testing and Design to anyone needing to understand SOA’s scalability and performance characteristics.
Java Testing and Design: From Unit Testing to Automated Web Tests
Author(s): Frank Cohen
Publisher: Prentice Hall PTR, Year: 2004
ISBN: 9780131421899