Skip to Content
Googleのソフトウェアエンジニアリング ―持続可能なプログラミングを支える技術、文化、プロセス
book

Googleのソフトウェアエンジニアリング ―持続可能なプログラミングを支える技術、文化、プロセス

by Titus Winters, Tom Manshreck, Hyrum Wright, 竹辺 靖昭, 久富木 隆一
November 2021
Intermediate to advanced
684 pages
10h 37m
Japanese
O'Reilly Japan, Inc.
Content preview from Googleのソフトウェアエンジニアリング ―持続可能なプログラミングを支える技術、文化、プロセス

11章テスト概観

Adam Bender 著

Tom Manshreck 編

 テストは常にプログラミングの一部分であり続けてきた。実際、あなたがコンピューターのプログラムを初めて書いたときは、ほぼ確実に、そのプログラムが期待通りに動くかどうかを知るために、何らかのサンプルデータをそのプログラムに投入したことだろう。それと非常に似通ったプロセスが長い間、最先端のソフトウェアテストとして通用していたが、その大部分が手作業で間違いが起こりやすかった。しかし2000年代初頭以降、ソフトウェア業界のテストへのアプローチは、現代のソフトウェアシステムの規模と複雑性に対応するべく劇的な進化を遂げてきた。その進化の中核に位置してきたのが、開発者主導の、自動化されたテストのプラクティスである。

 自動テストにより、バグが野に放たれてユーザーに影響を及ぼすことを防げる。バグは、捕捉するのが開発サイクルの後の方になればなるほど、コストが高くつくようになる。そして多くの場合、コストの増加は指数関数的である†1。しかし、「バグを捕捉すること」は、テストの動機の一部にすぎない。ソフトウェアのテストを望む理由として同等に重要なものは、変化を可能とする能力を備えておくため、という理由である。新機能追加、コードの健全性に主眼を置いたリファクタリングの実施、比較的大規模な再設計への着手と、どれを行っていようが、自動テストは間違いを素早く捕捉でき、そのおかげで信頼性を保ちつつソフトウェアを変更できるようになる。

†1 “Defect Prevention: Reducing Costs and Enhancing Quality”(https://oreil.ly/27R87)を参照のこと。

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

サイトリライアビリティワークブック ―SREの実践方法

サイトリライアビリティワークブック ―SREの実践方法

Betsy Beyer, Niall Richard Murphy, David K. Rensin, Kent Kawahara, Stephen Thorne, 澤田 武男, 関根 達夫, 細川 一茂, 矢吹 大輔, 玉川 竜司
初めてのSQL 第3版

初めてのSQL 第3版

Alan Beaulieu, 株式会社クイープ
プログラミングRust

プログラミングRust

Jim Blandy, Jason Orendorff, 中田 秀基
仕事ではじめる機械学習 第2版

仕事ではじめる機械学習 第2版

有賀 康顕, 中山 心太, 西林 孝

Publisher Resources

ISBN: 9784873119656Other