The Art of Unit Testing

The Art of Unit Testing
Author: Roy Osherove
Publisher: Simon and Schuster
Total Pages: 459
Release: 2013-11-24
Genre: Computers
ISBN: 1638353050

Summary The Art of Unit Testing, Second Edition guides you step by step from writing your first simple tests to developing robust test sets that are maintainable, readable, and trustworthy. You'll master the foundational ideas and quickly move to high-value subjects like mocks, stubs, and isolation, including frameworks such as Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. Along the way, you'll learn about integration testing and techniques and tools for testing databases and other technologies. About this Book You know you should be unit testing, so why aren't you doing it? If you're new to unit testing, if you find unit testing tedious, or if you're just not getting enough payoff for the effort you put into it, keep reading. The Art of Unit Testing, Second Edition guides you step by step from writing your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. You'll move quickly to more complicated subjects like mocks and stubs, while learning to use isolation (mocking) frameworks like Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, refactor code applications, and learn how to test "untestable" code. Along the way, you'll learn about integration testing and techniques for testing with databases. The examples in the book use C#, but will benefit anyone using a statically typed language such as Java or C++. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside Create readable, maintainable, trustworthy tests Fakes, stubs, mock objects, and isolation (mocking) frameworks Simple dependency injection techniques Refactoring legacy code About the Author Roy Osherove has been coding for over 15 years, and he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. His blog is at ArtOfUnitTesting.com. Table of Contents PART 1 GETTING STARTED The basics of unit testing A first unit test PART 2 CORE TECHNIQUES Using stubs to break dependencies Interaction testing using mock objects Isolation (mocking) frameworks Digging deeper into isolation frameworks PART 3 THE TEST CODE Test hierarchies and organization The pillars of good unit tests PART 4 DESIGN AND PROCESS Integrating unit testing into the organization Working with legacy code Design and testability

The Eye Test

The Eye Test
Author: Chris Jones
Publisher: Twelve
Total Pages: 276
Release: 2022-01-11
Genre: Psychology
ISBN: 1538730685

In a world increasingly ruled by numbers and algorithms, award-winning journalist Chris Jones makes a compelling case for a more personal approach to analytical thinking​. THE EYE TEST is a necessary course correction, a call for a more balanced, personal approach to problem-solving. Award-winning journalist Chris Jones makes the case for the human element—for what smart, practiced, devoted people can bring to situations that have proved resistant to analytics. Jones shares what he’s learned from an army of extraordinary talents, including some of the best doctors, executives, athletes, meteorologists, magicians, designers, astrophysicists, and detectives in the world. There are lessons in their mastery. Of course, there is a place for numbers in decision-making. No baseball player should be judged by his jawline. But the analytics revolution sparked by Michael Lewis’s Moneyball now threatens to replace one kind of absurdity with another. We have developed a blind faith in the machine, the way a driver overly reliant on his GPS might be led off the edge of a cliff. Not all statistical analysis is sound. Algorithms aren’t infallible, and spreadsheets aren’t testaments. Trust in them too much, and they risk becoming instruments of destruction rather than understanding. Worse, data’s supremacy in our daily lives has led to a dangerous strain of anti-expertise: the belief that every problem is a math problem, and anyone given access to the right information will find the right answer. That taste doesn’t matter, experience doesn’t matter, creativity doesn’t matter. That we can’t believe our eyes, no matter how much they’ve seen. THE EYE TEST serves as a reminder that if beauty is less of a virtue in the age of analytics, a good eye still is. This book is a celebration of our greatest beholders—and an absorbing, inspiring guide for how you might become one, too.

Experiences of Test Automation

Experiences of Test Automation
Author: Dorothy Graham
Publisher: Addison-Wesley Professional
Total Pages: 672
Release: 2012
Genre: Computers
ISBN: 0321754069

In this work, over 40 pioneering implementers share their experiences and best practices in 28 case studies. Drawing on their insights, you can avoid the pitfalls associated with test automation, and achieve powerful results on every metric you care about: quality, cost, time to market, usability, and value.

Electromagnetic Compatibility (EMC) Design and Test Case Analysis

Electromagnetic Compatibility (EMC) Design and Test Case Analysis
Author: Junqi Zheng
Publisher: John Wiley & Sons
Total Pages: 497
Release: 2019-02-11
Genre: Science
ISBN: 1118956850

A practical introduction to techniques for the design of electronic products from the Electromagnetic compatibility (EMC) perspective Introduces techniques for the design of electronic products from the EMC aspects Covers normalized EMC requirements and design principles to assure product compatibility Describes the main topics for the control of electromagnetic interferences and recommends design improvements to meet international standards requirements (FCC, EU EMC directive, Radio acts, etc.) Well organized in a logical sequence which starts from basic knowledge and continues through the various aspects required for compliance with EMC requirements Includes practical examples and case studies to illustrate design features and troubleshooting Author is the founder of the EMC design risk evaluation approach and this book presents many years’ experience in teaching and researching the topic

Mastering Shiny

Mastering Shiny
Author: Hadley Wickham
Publisher: "O'Reilly Media, Inc."
Total Pages: 372
Release: 2021-04-29
Genre: Computers
ISBN: 149204735X

Master the Shiny web framework—and take your R skills to a whole new level. By letting you move beyond static reports, Shiny helps you create fully interactive web apps for data analyses. Users will be able to jump between datasets, explore different subsets or facets of the data, run models with parameter values of their choosing, customize visualizations, and much more. Hadley Wickham from RStudio shows data scientists, data analysts, statisticians, and scientific researchers with no knowledge of HTML, CSS, or JavaScript how to create rich web apps from R. This in-depth guide provides a learning path that you can follow with confidence, as you go from a Shiny beginner to an expert developer who can write large, complex apps that are maintainable and performant. Get started: Discover how the major pieces of a Shiny app fit together Put Shiny in action: Explore Shiny functionality with a focus on code samples, example apps, and useful techniques Master reactivity: Go deep into the theory and practice of reactive programming and examine reactive graph components Apply best practices: Examine useful techniques for making your Shiny apps work well in production

Model-Based Testing Essentials - Guide to the ISTQB Certified Model-Based Tester

Model-Based Testing Essentials - Guide to the ISTQB Certified Model-Based Tester
Author: Anne Kramer
Publisher: John Wiley & Sons
Total Pages: 298
Release: 2016-04-11
Genre: Computers
ISBN: 1119130018

Provides a practical and comprehensive introduction to the key aspects of model-based testing as taught in the ISTQB® Model-Based Tester—Foundation Level Certification Syllabus This book covers the essentials of Model-Based Testing (MBT) needed to pass the ISTQB® Foundation Level Model-Based Tester Certification. The text begins with an introduction to MBT, covering both the benefits and the limitations of MBT. The authors review the various approaches to model-based testing, explaining the fundamental processes in MBT, the different modeling languages used, common good modeling practices, and the typical mistakes and pitfalls. The book explains the specifics of MBT test implementation, the dependencies on modeling and test generation activities, and the steps required to automate the generated test cases. The text discusses the introduction of MBT in a company, presenting metrics to measure success and good practices to apply. Provides case studies illustrating different approaches to Model-Based Testing Includes in-text exercises to encourage readers to practice modeling and test generation activities Contains appendices with solutions to the in-text exercises, a short quiz to test readers, along with additional information Model-Based Testing Essentials – Guide to the ISTQB® Certified Model-Based Tester – Foundation Level is written primarily for participants of the ISTQB® Certification: software engineers, test engineers, software developers, and anybody else involved in software quality assurance. This book can also be used for anyone who wants a deeper understanding of software testing and of the use of models for test generation.

How Google Tests Software

How Google Tests Software
Author: James A. Whittaker
Publisher: Addison-Wesley
Total Pages: 316
Release: 2012-03-21
Genre: Computers
ISBN: 0132851555

2012 Jolt Award finalist! Pioneering the Future of Software Test Do you need to get it right, too? Then, learn from Google. Legendary testing expert James Whittaker, until recently a Google testing leader, and two top Google experts reveal exactly how Google tests software, offering brand-new best practices you can use even if you’re not quite Google’s size...yet! Breakthrough Techniques You Can Actually Use Discover 100% practical, amazingly scalable techniques for analyzing risk and planning tests...thinking like real users...implementing exploratory, black box, white box, and acceptance testing...getting usable feedback...tracking issues...choosing and creating tools...testing “Docs & Mocks,” interfaces, classes, modules, libraries, binaries, services, and infrastructure...reviewing code and refactoring...using test hooks, presubmit scripts, queues, continuous builds, and more. With these techniques, you can transform testing from a bottleneck into an accelerator–and make your whole organization more productive!

Formal Description Techniques and Protocol Specification, Testing and Verification

Formal Description Techniques and Protocol Specification, Testing and Verification
Author: Stan Budkowski
Publisher: Springer
Total Pages: 462
Release: 2013-04-17
Genre: Technology & Engineering
ISBN: 0387353941

Formal Description Techniques and Protocol Specification, Testing and Verification addresses formal description techniques (FDTs) applicable to distributed systems and communication protocols. It aims to present the state of the art in theory, application, tools and industrialization of FDTs. Among the important features presented are: FDT-based system and protocol engineering; FDT-application to distributed systems; Protocol engineering; Practical experience and case studies. Formal Description Techniques and Protocol Specification, Testing and Verification comprises the proceedings of the Joint International Conference on Formal Description Techniques for Distributed Systems and Communication Protocols and Protocol Specification, Testing and Verification, sponsored by the International Federation for Information Processing, held in November 1998, Paris, France. Formal Description Techniques and Protocol Specification, Testing and Verification is suitable as a secondary text for a graduate-level course on Distributed Systems or Communications, and as a reference for researchers and practitioners in industry.

Parallel Computing on Heterogeneous Networks

Parallel Computing on Heterogeneous Networks
Author: Alexey L. Lastovetsky
Publisher: John Wiley & Sons
Total Pages: 440
Release: 2008-05-02
Genre: Computers
ISBN: 0470349484

New approaches to parallel computing are being developed that make better use of the heterogeneous cluster architecture Provides a detailed introduction to parallel computing on heterogenous clusters All concepts and algorithms are illustrated with working programs that can be compiled and executed on any cluster The algorithms discussed have practical applications in a range of real-life parallel computing problems, such as the N-body problem, portfolio management, and the modeling of oil extraction

Regression Testing in Era of Internet of Things and Machine Learning

Regression Testing in Era of Internet of Things and Machine Learning
Author: Abhinandan H. Patil
Publisher: Lulu.com
Total Pages: 224
Release: 2020-03
Genre: Computers
ISBN: 179476240X

This book is for Software Engineering enthusiasts working in the field of Regression test suite design and implementation. Test Architects who are keen to apply Machine Learning to test suite data will find this book useful