Skip to Content
이벤트 기반 마이크로서비스 구축
book

이벤트 기반 마이크로서비스 구축

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
321
15
장
이벤트 기반 마이크로서비스 테스트
이벤트 기반 마이크로서비스 테스트
CHAPTER
15
이벤트 기반 마이크로서비스의 가장 큰 장점 중 하나는 모듈화가 아주 잘 되어 있다는 점입니
다. 이벤트 스트림 또는 요청-응답
API
를 통해 입력 이벤트가 서비스에 전달되고 상태는 독립
적인 상태 저장소에 구체화되며 출력 이벤트는 서비스 출력 스트림에 기록되지요. 마이크로서
비스는 크기가 작고 용도가 정해져 있기 때문에 복잡한 대규모 서비스보다 테스트하기가 훨씬
쉽습니다. 가동부가 많지 않아 입출력과 상태를 처리하는 비교적 표준화된 방법론이 있고 테스
트 도구를 다른 마이크로서비스에도 재활용할 수 있는 여지가 많습니다. 이 장에서는 단위 테
스트, 통합 테스트, 성능 테스트 등의 테스트 원칙과 전략을 살펴보겠습니다.
15.1
일반 테스트 원칙
이벤트 기반 마이크로서비스는 모든 애플리케이션에 공통적인 테스트 모범 사례를 공유합니
다. 단위, 통합, 시스템, 회귀 테스트 같은 기능 테스트
functional
test
는 마이크로서비스가 어떤 일
을 해야 하고 어떤 일은 하지 말아야 할지 규정합니다. 성능, 부하, 스트레스, 장애 복구 테스트
같은 비기능 테스트
nonfunctional
test
은 다양한 상황에서도 마이크로서비스가 잘 작동하는지 확인합
니다.
이 장은 여러분이
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

헤드 퍼스트 자바(3판)

헤드 퍼스트 자바(3판)

케이시 시에라, 버트 베이츠
클라우드 핀옵스: 비용은 최소화 운영은 최적화

클라우드 핀옵스: 비용은 최소화 운영은 최적화

오성근, J. R. 스토먼트, 마이크 풀러

Publisher Resources

ISBN: 9791162244173