Save with Used - Good
$8.98$8.98
FREE delivery February 24 - 26
Advertisement
Ships from: ThriftBooks-Baltimore Sold by: ThriftBooks-Baltimore
Save with Used - Very Good
$8.98$8.98
FREE delivery February 24 - 26
Advertisement
Ships from: ThriftBooks-Chicago Sold by: ThriftBooks-Chicago
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Just Enough Software Test Automation (Just Enough (Yourdon Press)) 1st Edition
Purchase options and add-ons
- ISBN-100130084689
- ISBN-13978-0130084682
- Edition1st
- PublisherPrentice Hall
- Publication dateJuly 15, 2002
- LanguageEnglish
- Dimensions7 x 0.64 x 9.25 inches
- Print length280 pages
Similar items that may deliver to you quickly
Effective Software Testing: A developer's guidePaperbackFREE Shipping by AmazonGet it as soon as Friday, Feb 20
Test Driven Development: By Example (Addison-Wesley Signature Series (Beck))PaperbackFREE ShippingGet it Feb 20 - 24Only 1 left in stock - order soon.
Software TestingPaperbackFREE Shipping by AmazonGet it as soon as Friday, Feb 20Only 7 left in stock - order soon.
Introduction to Software Testing: A Practical Guide to Testing, Design, Automation, and ExecutionPanagiotis LeloudasPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Friday, Feb 20
Pragmatic Software Testing: Becoming an Effective and Efficient Test ProfessionalPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Friday, Feb 20Only 1 left in stock - order soon.
Modern Software Testing Techniques: A Practical Guide for Developers and TestersPaperback$3.99 shippingUsually ships within 9 to 10 days
Editorial Reviews
From the Back Cover
- Techniques that improve software quality and reduce time to market
- Pragmatic approaches to plan and manage every facet of automated software testing
- Includes a complete sample automation project plan
Practical automated testing techniques that enhance software quality and reduce time to market!
Just Enough Test Automation is a practical, hands-on guide to software test automation from the perspective of test developers and users. Two leading software testing consultants offer real-world dos and don'ts for designing and implementing test automation infrastructurealong with pragmatic advice on what today's most popular approaches to automated testing can and can't accomplish. Coverage includes:
- Setting realistic expectations: knowing when and what to automate
- Planning for automated testing
- Implementing the Control Synchronized Data Driven Testing (CSDDT) Framework, a proven approach to simplify and accelerate testing
- Simplify maintenance of test scripts and promote reuse using structured test script writing.
- Automating unit testing, integration testing, and system/regression testing
- Managing the automated testing process for optimal efficiency
The book also includes a complete sample automation project plan, covering documentation, implementation, the automation environment, roles, responsibilities, and much more.
About the Author
DANIEL J. MOSLEY is founder and principal of Client-Server Software Testing Technologies and author of The Handbook of MIS Application Software Testing and Client-Server Software Testing on the Desktop and Web (Prentice Hall PTR). A Certified Software Test Engineer (CSTE), Mosley served as senior consultant and seminar leader for the Quality Assurance Institute and authored the TEST-RxTM Methodology.
BRUCE A. POSEY specializes in developing and implementing data-driven, framework-based test scripts utilizing SQA Suite/Rational Team Test. He has nearly 30 years' IT experience in diverse roles at MasterCard, Deutsche Financial Services, SBC, and other leading firms. He is owner and principal consultant of The Archer Group, which specializes in software testing and training.
Excerpt. © Reprinted by permission. All rights reserved.
Preface
There has been a glut of test automation books on the market as of late. They all espouse different approaches to, and different levels of, software test automation implementation. There is even an attempt to describe an automated software testing life cycle in the most popular offering (see the Dustin reference in Chapter 2). Traditionally, authors of information systems (IS) industry publications typically try to force a hypothetical model to describe the processes we use. Sometimes it works and sometimes it doesn't. The problem is that there is no empirical evidence to support that the approaches put into practice in these models work in the real world. The majority of the recommended approaches in software testing and software development practices are based on anecdotal evidence and project management fads that are started by so-called experts in the IS field and perpetuated by chief information officers (CIOs) in health club steam rooms.
We do not believe in an automated testing life cycle. This is an artificial construct that we find of little use. Nor do we believe in a software testing life cycle. What we do believe is that software testing occurs as a set of integrated activities in the software development process. We also believe that good software testing requires a special form of project management and its own set of operational techniques. Testing also requires a set of tools that a test engineer can rely on during test activities. These tools can be testing artifacts such as printed test scenarios that a test engineer follows or printed test logs that the engineer fills out while executing the tests.
We are not saying that we have to wait until a body of empirical evidence has been compiled before we accept and use the tools and techniques advocated by the IS authorities. We are saying that we have to evaluate the tools and methods ourselves and weed out the fluff. The real experiment is this: which techniques work and which do not when practitioners (you and we) attempt to use the technology.
Dan Mosley, the first author, explored his first automated testing tool back in 1985 and the technology was pretty crude. He was able to obtain an evaluation copy of that product while he was teaching one of the earliest undergraduate software testing courses (Washington University in St. Louis, 1985-1992). In the mid-1990s, he had long telephone conversations with Eric Schurr, then of Software Quality Automation (SQA), now of Rational Software Corporation, which subsequently absorbed SQA and its products, concerning automated software testing tools and what, functionally, they should provide for software test engineers' use.
They discussed what a good automation tool should do and what features it should include. Because of Dan's contacts with Eric, he acquired and used copies of SQA's (now Rational's) automated testing tool, which came out after that early Version 1.0. The most current version (at the time of this writing) is Rational Suite TestStudio 2002. Dan's experiences with this product have shown that test automation is not an easy overnight fix for a faltering testing effort. Furthermore, his experiences have proven that automated testing is not a substitute for manual testing. Glen Myers published the fundamental concepts of software testing in the late 1970s. Even today his Art of Software Testing (1979) is considered the premier dialogue on software testing. We still need to apply his recommendations when we test manually and when we build an automated testing infrastructure.
Our pet peeve with test automation as it is currently practiced is the lack of emphasis on front-end test planning and test design activities. We keep repeating the classic mistake that software developers have perpetuated since the first program was writtenwe start testing (in the case of automated testing, writing the test scripts) without doing the proper analysis of the problem and design of the testing infrastructure. It brings to mind a cartoon from years agoa manager is talking to the programmer: "You start writing code and I'll go find out what it is supposed to build." Automated tests that "test" the wrong things can have only one result: unsuitable tests are executed much faster.
The ultimate goal of any automation effort should be a set of planned tests that corresponds to a set of test requirements that in turn are reflected in the automated tests. Furthermore, the heart of the testing effort is not the test scripts, but the test data. This is why there is so much hype about data-driven automated testing as an automation implementation framework. The underlying premise is that data should drive the tests and should exercise the application under test's (AUT) features. The test scripts are just delivery vehicles. Automated tests are effective only when the test data are designed well.
An operational goal of an automated testing framework is to minimize test script maintenance. The traditional capture/playback model that testing tool vendors have championed for years leads to inordinately high script maintenance because the test data are hard coded in the body of the test script. Mosley's first experiences developing automated test scripts intuitively demonstrated that strictly using capture/playback is not the way to go. Furthermore, the built-in test cases the tools provided were essentially useless for anything but testing the application's graphical user interface (GUI). True functional testing requires the test engineer to write test data that probe the AUT in depth. GUI testing should be done, and it can be automated with minimal effort. In actual practice, we usually have a single test script that exercises the GUI objects. It baselines and validates the properties of all GUI objects. The test script is executed for each GUI screen.
Automating functional testing requires sophisticated test data that explore the AUT. The test data must reproduce test scenarios that exercise important system features. Consequently, automated functional testing is more complicated and difficult. It requires the test engineer to write a significant portion of the test script as opposed to recording it. It also means designing effective test data. Understanding what to test (having a documented set of test requirements) and designing test data that verify the requirements are the keys to writing valuable automated functional tests.
Understanding how to verify the test results is as important as knowing what to test. Automated test verification is also data dependent. As their primary verification method, automated tests frequently capture and store baseline data that are later compared against the same data captured during regression tests. More sophisticated tests access and manipulate database records before, during, and after the tests are executed.
A powerful automated testing framework must provide tools that address test planning, test design, test construction, test execution, and test results verification. An effective infrastructure is one that is predicated on an integrated central repository where testing artifacts can be stored and reused. The infrastructure should also provide customizable reporting capabilities.
We have a history prior to coauthoring this book. We met in 1996 when we worked together on the first really successful automated testing project we had encountered up to that point. Since then, we have worked together on a plethora of test automation projects. We have developed a sense of what is required to implement a successful automation project and what is required to propagate automated testing in an IS development and testing organization. We know as much about what won't work as we do about what will work.
Working together, we implemented a data-driven automated testing paradigm before we had even heard of this now prolific industry phrase (we were unaware of the paper that Richard Strang had given at the STAR conference in 1996; see the Chapter 1 references). We pioneered and perfected our implementations of the data-driven approach while others were just beginning to discuss and write about it. Of course, as with any new hot-button technology, it is not really new, just rediscovered. Data-driven testing is no exception. Beizer, in Software Testing Techniques (1983), described "Data-Base-Driven Test Design." This was late in the mainframe era and early in the PC revolution, so it was an idea related to testing mainframe applications. He presented it as a procedure not for testing the database, but for using the database structure to derive test data. He argued that it "is best suited to the verification of functional requirements as set down in the system specification." It is a simple step to expand this approach to include tests that are based on business rules supported by the database table structures. Add data that test the GUI objects and their behaviors and you have data-driven testing.
We also discovered structured test script writing (also known as framework-based testing) during this period. Again this is not new technology. Test scripts are programs written in modified versions of common programming languages such as Visual Basic and C. They are different in that they have special features to accommodate software testing tasks. There is a vast literature base that addresses structured programming concepts such as functional decomposition, module cohesion, module coupling, and modular (functional) reusability. As a test script constitutes a software program that tests another software program, it is subject to the same design and construction rules as the programs it is testing. Thus, structured programming concepts also apply to automated test scripts.
Because automated test scripts are also subject to the same baggage that other software programs carry, they can contain logic flaws; they can contain spaghetti (convoluted) code; they can contain hard-coded variables; and they can be implemented with both procedure and data in the test script itself. All of this adds up to increased costs related to test suite maintenance, just as there are costs associated with maintaining the software systems these test scripts test. Creating structured component-based test scripts that are separate from the data they execute is the only way to create an effective software test automation infrastructure, one that maximizes testing accuracy and that minimizes testing maintenance.
There have also been recent efforts to develop high-level test automation languages that can be used to design and implement automated tests by nontechnical personnel such as business and product analysts and system customers. These efforts are advocated as the next step in the evolution of automated testing. As yet, we have not seen an approach that simplifies test script development enough to be really useful. We can see the value of this as long as we are striving toward a set of universal script libraries that will support a common Java-like test scripting language; however, most frameworks to date have been written to support contrived high-level command languages, not object-oriented ones. In addition, the supporting libraries are as yet immature in the functionality they offer to the scriptwriter. To accomplish their testing needs, organizations have to add additional code to the existing library subroutines and functions.
Because we are practitioners, the aim of this book is to offer useful advice on test automation from the test automation developer's/user's perspective. It includes pragmatic advice on what to do and caveats concerning what not to do when designing and implementing a test automation infrastructure. It also contains advice on what current popular testing approaches can and cannot do for your testing endeavors.
Our examples were developed on the Rational Suite TestStudio platform, but we feel they can easily be adapted for use with other automated testing platforms. In addition, an FTP site (www.phptr.com/mosley) supports this book. That site contains template files from the Archer Group's Control Synchronized Data Driven Testing (CSDDT) approach (for the Rational environment), Carl Nagle's Data Driven Engine (DDE) approach (for the Rational environment), and Keith Zambelich's Totally Data-Driven approach using Mercury Interactive's WinRunner automated test tool, which is based on Zambelich's Test Plan Driven framework that uses his Toolkit For WinRunner. These resources can be used to easily jump-start your data-driven automated testing effort.
Product details
- Publisher : Prentice Hall
- Publication date : July 15, 2002
- Edition : 1st
- Language : English
- Print length : 280 pages
- ISBN-10 : 0130084689
- ISBN-13 : 978-0130084682
- Item Weight : 1.2 pounds
- Dimensions : 7 x 0.64 x 9.25 inches
- Best Sellers Rank: #6,082,506 in Books (See Top 100 in Books)
- #1,829 in Software Testing
- #2,631 in Software Design & Engineering
- #6,978 in Software Development (Books)
- Customer Reviews:
About the author

Biography
Daniel J. Mosley, MR(R), CSTE, Security + Certified
Contact Number: 989-339-6692
Daniel J. Mosley has been in the Information Technology field, (Quality Assurance and Software Testing for 16 years). He has held positions as Software Testing Project Manager, Lead Software Test engineer, Senior Software Test Engineer, and Quality Assurance Director, just to name a few. He is the owner and founder of CSST Technologies, Inc.
He has consulted in the areas of Quality Assurance and Software Testing for fortune 500 companies such as Anheuser Busch, Inc., Maritz Travel Company, Clark Marketing & Refining, Inc., Microsoft Corporation, and Southwestern Bell Communications. Some of his most important work was on the Microsoft Windows 2000 Server Logo Test Plan that is used to test server applications that are submitted for Windows 2000 certification.
He administered continuing education programs and taught seminar classes, as well as, graduate and undergraduate academic courses in the School of Technology and Information Management at Washington University in St. Louis from 1985 until 1992. He was subsequently adjunct faculty in the Schools of Business at SIU-E and Maryville University. In all instances, He was involved with the development and implementation of information systems courses and seminars.
He also taught professional seminars for Caremark, Inc., Cincinnati Bell Information Systems, Convergys, Edison Brothers Stores, Inc., NASA's Goddard Space Flight Center, UPS, and UPS Air.
He is a Certified Software Test Engineer (CSTE). His expertise includes Software Testing methods, techniques, and tools, as well as Software and System Engineering life cycle methods, techniques, and tools; Continuous Software Process Improvement, Statistical Software Quality Engineering; Software Metrics.
He is the author of the TEST-Rx, "Test Prescription," methodology, and three professional reference books, "The Handbook of MIS Application Software Testing," "Client Server Software Testing on the Desktop and Web," and "Just Enough Software Test Automation."
He is a co-developer of the Control Synchronized Data Driven Testing (CSDDT) automation Framework, described in his most recent book. This approach can be ported to any automated testing tool environment and has already been done for QTP.
He is an expert with Rational testing tools. His most recent experience is with Rational TestManager 7.0, Rational Robot 7.0 and Rational RequisitePro 7.0. He is also heavily experienced with Rational ClearQuest, and with MS office tools including Access, Excel, Word, PowerPoint, and Visio. He has also evaluated all of the Mercury test tools and he is familiar with how their workings.
He is versed in the Capability Maturity Model Integrated (CMMI) and its Key Practice Areas. He is familiar with the DOD and ISO standards.
As one can see from the accompanying photo I am a "gearhead." I love automobiles, especially Corvettes.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on August 13, 2002Format: PaperbackThis book is written for the in-the-trenches testing practitioner. Before describing the book and its strengths, I need to state that the authors' views of certain aspects of software engineering dramatically differ from kine. Specifically, they express some disdain for applying a life cycle approach to testing in general and test automation in particular, and also don't seem to see the value of maturity frameworks, such as the CMM. On the other hand, they are forthright about their focus on the practitioner, and are strong proponents of process. My views differ from theirs in that I see the value of bounding processes within a life cycle flow, and also see the value in measuring capability. While my perspective may not be meaningful to the practitioner who is actually doing the testing, it does take into account the realities of managing an IT organization.
Regardless of my opinions and views, the authors have put together a powerful, sensible approach to test automation. Key strengths include:
- Pragmatism, including compelling counter arguments to my own views (especially in the first two chapters titled "What Is Just Enough Test Automation?" and "Knowing When and What to Automate". I particularly liked the distinctions between processes, and life cycles and tools.
- Going straight to the critical success factors, such as requirements as the entire basis for test planning, and ensuring traceability throughout the development life cycle. In addition, the frank discussion of limitations of some testing tools, and the associated high maintenance associated with scripts, is illuminating. I also liked the way that the book shows what can be automated, and, more importantly, what cannot (or should not) be. It also reemphasizes the importance of developing a test strategy and test plans, and how automation tools fall short in some areas. An invaluable part of this aspect of the book is the discussion of test scripting languages and their strengths and weaknesses.
- Examples based on real tools, with an emphasis on Rational's TestStudio. Mercury Interactive's WinRunner is also used to illustrate key concepts of the Test Plan Driven framework that is discussed later in the book.
- Material that hands-on practitioners can use. While I have a high regard for the Automated Test Lifecycle Methodology that is proposed in an excellent book titled "Automated Software Testing" by Elfriede Dustin, Jeff Rashka, John Paul, that book is more for implementing and managing automated testing within the context of a life cycle, and isn't a topic to which the audience of this book will relate. Indeed, the real strength of this book is the fact that no other book on automated testing talks to the practitioners. In addition, the material covers unit, integration, and regression testing from the practitioner's point of view.
- Advanced topics including data-driven approaches to testing that ties into automated suites, hybrid approaches that combine manual and automated elements, and how to develop test plans and associated artifacts.
Despite my disagreement with some of what the authors views, I have to give this book my highest endorsement because, in my opinion, it's well thought out, provides one of the most thorough discussions of test automation at the practitioner level I've encountered, and is technically flawless.
- Reviewed in the United States on November 17, 2005Format: PaperbackEvery time i see a "practical" book that contains a dozen pages about equivalence classes I want to scream. This book is no different. Don't know what black box testing is? Well, here you find it.
The authors explain how to report defects in Excel (is anybody out there still doing that?)! Nowadays one would certainly use Bugzilla, Jira or the like.
Test automation is always about tools (even if it is a self created framework) but this book is general.
Test scripts should follow standard programming practice (which is even explained!). Well, it is code, so that is no great surprise.
The one practical thing is the statement about where to start automation: "where it feels right". Yeah, thanks for that tipp.
Conclusion: Don't waste your time. You will probably be better of if you grab a book about JUnit testing, Fitnesse or the like.
- Reviewed in the United States on June 23, 2003Format: Paperback"Purchasing a software testing tool suite does not constitute implementing a software process". Wise words from Dan Mosley and Bruce Posey in "Just Enough Software Test Automation"; maybe some development managers need to take heed.
Too many times have automated test tools become shelfware, or the cost of maintaining the scripts prohibitvely expensive. The authors of this book offer a simple and easy to use data-driven framework that can minimise scripts and human effort. They place their framework within the Rational Unified Process (RUP).
The book offers actual and detailed advice that goes all the way down to code and script templates. Based mostly on Rational tools, the book gives lip service to Winrunner and anything said can be translated to any automated tool.
Their open-source framework is the Control Synchronized Data Driven Testing(CSDDT). Data to be input, keywords to navigate through the application and actions to be performed are held in the spreadsheet. There are four main scripts: A Main script that reads and processes the records; a window selection script, a tab selection script, an action script and error handling script. Data input is held in an array and there is a comment field that documents the test record. Your application code is held in a switch statement, and it is highly conceivable that your project can have single figure script numbers. There is also a script that converts the spreadsheet data in a .csv file that is read by the Main script. There is detailed
information given on how to implement the CSDDT. It is a framework I use and am pleased with.
There are two interesting chapters on Unit and Integration testing. Like eXtreme Programmers they believe in automating unit tests that pass at 100% before submitting for build. They correctly argue that unit tests should be constructed before development code is written and they also point to the xUnit group of tools.
They make insightful points about the necessity of integration testing: Could you not help but identify with the following statements: "... We have seen two chronic problems: First, the build fequently does not install on system test machines. Second, the fact that unit and integration testing has not been done previously forces the system test team to do tests that development should have already executed." Again they also argue for automated integration testing else "it will not get done."
I feel however that Mosley and Posey's ideas need to be infused with agile values and practices. For example do we really need improved software requirements documentation, verbose Test Plans and meticulous test design when requirements change so much? Do we really need all these Rational tools and the time it takes to use and update them? Can we not make automated functional tests an integral part of requirements? What about Pair Test Programming? How are we going to increase oral communication? Is devolopment and test a false dichotomy? These kind of issues also need to be addressed as we begin to construct software in a radically different way.
Top reviews from other countries
Rajesh VermaReviewed in the United Kingdom on October 14, 20201.0 out of 5 stars Full for advertisement of software and tool from Rational Software
Format: PaperbackVerified PurchaseBook was one of the bad purchases I have ever done. Author's main idea is to promote software and tool of his organisation. When you are writing a book you should only refer to tools, software IDE popular and freely available. The tools author has mentioned: LogiCase, Quality Architect, ClearCase, ClearQuest, TestSutdio, Robot - all belong to Rational Software.




