My Account Log in

2 options

The way of the web tester : a beginner's guide to automating tests / Jonathan Rasmusson ; edited by Susannah Pfalzer.

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Rasmusson, Jonathan, author.
Contributor:
Pfalzer, Susannah, editor.
Series:
Pragmatic programmers.
The Pragmatic Programmers
Language:
English
Subjects (All):
Web sites--Design.
Web sites.
User interfaces (Computer systems)--Testing.
User interfaces (Computer systems).
Web sites--Testing.
Web sites--Evaluation.
Physical Description:
1 online resource (237 pages) : illustrations (some color).
Edition:
1st edition
Place of Publication:
Raleigh, North Carolina : The Pragmatic Bookshelf, 2016.
System Details:
text file
Summary:
This book is for everyone who needs to test the web. As a tester, you'll automate your tests. As a developer, you'll build more robust solutions. And as a team, you'll gain a vocabulary and a means to coordinate how to write and organize automated tests for the web. Follow the testing pyramid and level up your skills in user interface testing, integration testing, and unit testing. Your new skills will free you up to do other, more important things while letting the computer do the one thing it's really good at: quickly running thousands of repetitive tasks. This book shows you how to do three things: How to write really good automated tests for the web. How to pick and choose the right ones. * How to explain, coordinate, and share your efforts with others. If you're a traditional software tester who has never written an automated test before, this is the perfect book for getting started. Together, we'll go through everything you'll need to start writing your own tests. If you're a developer, but haven't thought much about testing, this book will show you how to move fast without breaking stuff. You'll test RESTful web services and legacy systems, and see how to organize your tests. And if you're a team lead, this is the Rosetta Stone you've been looking for. This book will help you bridge that testing gap between your developers and your testers by giving your team a model to discuss automated testing, and most importantly, to coordinate their efforts. The Way of the Web Tester is packed with cartoons, graphics, best practices, war stories, plenty of humor, and hands-on tutorial exercises that will get you doing the right things, the right way.
Contents:
Cover
Table of Contents
Acknowledgements
It's Good to See You!
How to Read This Book
A Few Conventions
Fun Bits with Purpose
Online Resources
Part I-Mapping the Pyramid
1. The Testing Pyramid
It Was Beautiful
The Wheels on the Bus
Three Hard Lessons Learned
Enter the Testing Pyramid
UI Tests
Integration Tests
Unit Tests
Rules of Thumb
Who's Writing These Things
What We've Learned So Far
2. Smoking User Interface Tests
Another Botched Release
Enter the User Interface Test
How They Work
HTML Is for Asserting
CSS Is for Selecting
3. Adding UI Tests to Legacy Systems
Step 1: Confirm You're on the Right Test Page
Step 2: Figure Out Your CSS Selectors
Step 3: Make Your Assertions
4. Connecting the Dots with Integration Tests
There Is No UI
Enter the Integration Test
How the Web Works
Talking HTTP
Taking a REST
5. Integration Testing RESTful Web Services
Testing the RESTful Permit API
HTTP GET
HTTP POST
HTTP PUT
HTTP DELETE
6. Covering Our Bases with Unit Tests
Everything Is Awesome!
The Challenge with UI Tests
Enter the Unit Test
Turning It Up
7. Unit Testing in the Browser with JavaScript
Magic in the Browser
JavaScript and the Pyramid
Bug Hunt
Step 1: Scan the HTML
Step 2: Check the JavaScript
Step 3: Write the Tests
Static vs. Dynamic Typing
Open Mic
8. Climbing the Pyramid
The Pyramid in Action
Start with the Unit Tests
Step Up to the Integration Tests
Reach for the UI Tests
The Inverted Pyramid
How to Deal with Flaky Tests
What We've Learned So Far.
Part II-Exploring the Pyramid
9. Programming 101
The Mechanics of Programming
The Importance of Style
Naming
Spacing
Dealing with Duplication
Playing the Game
Step 1: Fix the Spacing
Step 2: Choose Good Names
Step 3: Tackle Duplication in the Class
Step 4: Remove Duplication in the Test
10. Organizing Tests: Bringing Method to the Madness
The Land of Confusion
The Beauty of Isolation
The Clarity of Context
Intruder Alert
11. Effective Mocking
Listen to the Music
Enter the Mock
Step 1: Prepare the Mock
Step 2: Set Expectations
The Shackles of Coupling
The Swamp of Mocking
Ports and Adapters
12. Writing Tests First
Where to Begin
What Is Test-Driven Development (TDD)?
Step 1: Write a Failing Test
Step 2: Make the Test Pass
Step 3: Refactor
Advantages of Working This Way
Seeing It in Action
Cycle, Rinse, Repeat
Final Words
A1. CSS Cheat Sheet
A2. Google Chrome Developer Tools
Bibliography
Index
- SYMBOLS -
- A -
- B -
- C -
- D -
- E -
- F -
- G -
- H -
- I -
- J -
- L -
- M -
- N -
- O -
- P -
- Q -
- R -
- S -
- T -
- U -
- V -
- W -.
Notes:
Place of publication from publisher's website.
Includes bibliographical references and index.
Description based on online resource; title from PDF title page (EBC, viewed March 14, 2018).
ISBN:
9781680505146
1680505149
9781680502251
1680502255
9781680505153
1680505157
9781680501834
1680501836
OCLC:
961944581

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account