Skip to Content
마이크로서비스 아키텍처 구축(전면 개정판)
book

마이크로서비스 아키텍처 구축(전면 개정판)

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
350
2
구현
스트와 마찬가지로 이 범주에 속한다. 이 테스트에서는 마이크로서비스를 시작하지 않으며 외
부 파일 사용이나 네트워크 연결도 제한된다. 일반적으로는 이러한 종류의 많은 테스트를 원하
며, 올바르게 수행하면 매우 빠른 최신 하드웨어에서는
1
분도 안 되는 시간에 수천 개를 실행
할 수 있다. 로컬에서 파일이 변경되면 많은 사람이 테스트를 자동으로 실행한다는 것을 알고
있다. 특히 인터프리터 언어의 경우 이것은 매우 빠른 피드백을 전달한다.
단위 테스트는 개발자에게 도움이 되므로 마릭의 용어로 표현하면 비즈니스가 아닌 기술 중심
이라 할 수 있다. 이 테스트는 또한 대부분의 버그를 찾아내길 희망하는 곳이기도 하다.
따라서 이 예제에서 고객 마이크로서비스를 고려할 때 단위 테스트는 [그림
9
-
4
]에 표시된 것
처럼 코드의 작은 부분을 격리해 처리한다.
웹 쇼핑
고객
개별 단위 테스트의 범위
멤버십
헬프데스크
그림
9-4
예제 시스템에서 단위 테스트의 범위 예제 시스템에서 단위 테스트의 범위
이러한 테스트의 핵심 목표는 기능이 정상적으로 작동하는지에 대한 매우 빠른 피드백을 제공
하는 것이다. 단위 테스트는 또한 코드 리팩터링을 지원하는 데 중요하다. 실수를 하더라도 작
은 범위의 테스트가 잡아낼 것을 알고 있으므로 안심하면서 코드를 재구성할 수 있다.
9.2.2 ...
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

파이썬으로 살펴보는 아키텍처 패턴

파이썬으로 살펴보는 아키텍처 패턴

오현석, 해리 퍼시벌, 밥 그레고리
견고한 데이터 엔지니어링

견고한 데이터 엔지니어링

조 라이스, 맷 하우슬리
클라우드 네이티브 애플리케이션 디자인 패턴

클라우드 네이티브 애플리케이션 디자인 패턴

카순 인드라시리, 스리스칸다라자 수호티얀
개발 7년차, 매니저 1일차

개발 7년차, 매니저 1일차

권원상, 한민주, 카미유 푸르니에

Publisher Resources

ISBN: 9791169211192