Skip to Content
持續交付|使用Java
book

持續交付|使用Java

by Daniel Bryant, Abraham Marín-Pérez
July 2019
Intermediate to advanced
480 pages
9h 35m
Chinese
GoTop Information, Inc.
Content preview from 持續交付|使用Java
292
| 第十一章
11-2 微服務、相鄰元件、外部服務,以及各種服務涵蓋的邊界。這張圖來自 Toby Clemson
的線上投影片Testing Strategies in a Microservice Architecture
https://martinfowler.com/articles/
microservice-testing/
)。
在本章其餘的部分,我們將探討以上所有的測試,了解何時該使用它們,並舉一些有效
建構它們的例子。我們從最外面的測試起,它是最接近“真物”的測試(綜合交易),
並逐步往內介紹,直到最裡面的單元測試。
綜合交易
綜合交易
會對生產系統執行實際的交易,但它是由假的用戶執行的。這種動作被視為測
試的最高形式,因為它是在實際的生產環境執行的,使用所有的實際元件,而不僅僅是
代表產生環境的測試環境。
綜合交易也可以搭配典型的監視技術,讓你更了解生產環境健康情況,因為你可以準確
地監視用戶將會有什麼體驗。透過這種測試,你可以偵測何時重要的商業數據超出可接
受的範圍,並協助快速發現生產問題。有些團隊會每天執行好幾個重要的綜合交易,以
確保一切都正常運作。
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

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey
精通機器學習|使用Python

精通機器學習|使用Python

Sarah Guido, Andreas C. Mueller
数字化转型:企业破局的34 个锦囊

数字化转型:企业破局的34 个锦囊

Gary O’Brien, Xiao Guo, Mike Mason

Publisher Resources

ISBN: 9789865021740