Software Engineering at Google by Titus Winters
Author:Titus Winters
Language: eng
Format: epub, pdf
Publisher: O'Reilly Media
Published: 2020-02-27T16:00:00+00:00
Test Data
A test needs data, and a large test needs two different kinds of data:
Seeded data
Data preinitialized into the system under test reflecting the state of the SUT at the inception of the test
Test traffic
Data sent to the system under test by the test itself during its execution
Because of the notion of the separate and larger SUT, the work to seed the SUT state is often orders of magnitude more complex than the setup work done in a unit test. For example:
Domain data
Some databases contain data prepopulated into tables and used as configuration for the environment. Actual service binaries using such a database may fail on startup if domain data is not provided.
Realistic baseline
For an SUT to be perceived as realistic, it might require a realistic set of base data at startup, both in terms of quality and quantity. For example, large tests of a social network likely need a realistic social graph as the base state for tests: enough test users with realistic profiles as well as enough interconnections between those users must exist for the testing to be accepted.
Seeding APIs
The APIs by which data is seeded may be complex. It might be possible to directly write to a datastore, but doing so might bypass triggers and checks performed by the actual binaries that perform the writes.
Download
Software Engineering at Google by Titus Winters.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(11946)
Hello! Python by Anthony Briggs(9403)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9366)
The Mikado Method by Ola Ellnestam Daniel Brolund(9335)
Dependency Injection in .NET by Mark Seemann(8883)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7878)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7375)
Grails in Action by Glen Smith Peter Ledbrook(7316)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7143)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5985)
Kotlin in Action by Dmitry Jemerov(4665)
Practical Vim (for Kathryn Amaral) by Drew Neil(3735)
Cracking the GRE Premium Edition with 6 Practice Tests, 2015 (Graduate School Test Preparation) by Princeton Review(3610)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3480)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3264)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(2979)
Learning Java by Patrick Niemeyer & Daniel Leuck(2879)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2855)
Microservices with Go by Alexander Shuiskov(2767)