본문 바로가기

JAVA - Backend

(23)
ArchUnit - 아키텍처 테스트 https://www.archunit.org Unit test your Java architecture Start enforcing your architecture within 30 minutes using the test setup you already have. www.archunit.org 애플리케이션의 아키텍처를 테스트할 수 잇는 오픈 소스 라이브러리로, 패키지, 클래스, 레이엉, 슬라이스간의 의존성을 확인할 수 있는 기능을 제공한다. 아키텍처 테스트 유즈 케이스 : A 라는 패키지가 B (또는 C, D)패키지에서만 사용 되고 있는지 확인 : Service라는 이름의 클래스들이 Controller 또는 Service라는 이름의 클래스에서만 참조하고 있는지 확인 : Service라는 이름의 클래스들..
Gradle + Spring Boot = JAR https://gusrb.tistory.com/71 Gradle + SpringBoot 실행 가능한 JAR 만들기 개요 gradle + springboot 사용 하고 있다. 사용자 프로젝트의 jar 와 의존성 라이브러리를 분리 할 수도 있지만, 하나의 jar 만들어 배포하면 간편한 장점이 있다. springboot 의 많은 의존성 라이브러리, 사용.. gusrb.tistory.com
Chaos Monkey - 운영 이슈 테스트 프로덕션 환경, 특히 분산 시스템 환경에서 불확실성을 파악하고 해결 방안을 모색하는데 사용하는 툴 운영환경의 불확실성의 예 - 네트워크 지연 - 서버 장애 - 디스크 오작동 - 메모리 누수 - ... http://netflix.github.io/chaosmonkey Home - Chaos Monkey Chaos Monkey is responsible for randomly terminating instances in production to ensure that engineers implement their services to be resilient to instance failures. See how to deploy for instructions on how to get up and running ..
JMeter - 성능 테스트 성능 측정 및 부하 측정 테스트 http://jmeter.apache.org Apache JMeter - Apache JMeter™ Apache JMeter™ The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other t jmeter.apache.org 웹, FTP, DB, Mail, REST 등등.. CLI 지원 Thread Group :..
httpie - http request tbd
Testcontainers (Docker) https://www.testcontainers.org Testcontainers  Testcontainers About Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container. Testcontainers make the following www.testcontainers.org 테스트에서 도커 컨테이너를 실행할 수 있는 라이브러리 @Testcontainers, @Container 홈페이지에가서 테스트에 필..
Mockito https://site.mockito.org Mockito framework site Intro Why How More Who Links Training Why drink it? Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. Mockito doesn’t give you hangover because the tests are very readable and they produce site.mockito.org 단위 테스트 http://martinfowler.com/bliki/UnitTest.html bliki: UnitTest Unit Tests..
spring-boot-starter-test 참고 https://cheese10yun.github.io/spring-boot-test/ Spring Boot Test - Yun Blog | 기술 블로그 Spring Boot Test - Yun Blog | 기술 블로그 cheese10yun.github.io https://happyer16.tistory.com/entry/Spring-Boot-Test-%EC%A2%85%ED%95%A9-%EC%A0%95%EB%A6%AC Spring Boot Test 종합 정리 ( 테스트종류, JUnit5 ) 개요 테스트코드의 중요성은 해당 블로그를 읽는 분이라면 모두 알고 있을 것이다. 나도 잘 알고 있지만, 정확한 사용법을 몰라 매번 @SpringBootTest 통합테스트로만 테스트코드를 작성하였다. 이렇게만 작성하..