본문 바로가기

JAVA - Backend/Plugins

(10)
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라는 이름의 클래스들..
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..
QueryDsl 참고 https://www.4te.co.kr/890?category=624359 QueryDSL 사용하기 JPA를 사용하면서 QueryDSL을 셋팅하고 사용하는 부분에 있어서 매번 헷깔려 정리한다. QueryDSL을 사용하기 위해서 build.gradle 파일에 아래의 내용을 추가 해 준다. plugins { ... id 'idea' id 'com.ewerk.gra.. www.4te.co.kr
Lombok 참고 https://www.daleseo.com/lombok-popular-annotations/ [자바] 자주 사용되는 Lombok 어노테이션 Lombok 라이브러리에서 제공하는 어노테이션 중에서 자주 사용되는 어노테이션 위주로 살펴보도록 하겠습니다. 접근자/설정자 자동 생성제일 먼저 살펴볼 어노테이션은 @Getter와 @Setter 입니다.아마 Lombok에서 가장 많이 사용되는 어노테이션일 텐데요.예를 들어, xxx라는 필드에 선언하면 자동으로 getXxx()(boolean 타입인 경우, is www.daleseo.com 그래들 // Lombok compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' ..