Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: 테스트를 위한 Customizer 적용 #110

Open
1 task
Jinwon-Dev opened this issue Aug 1, 2023 · 0 comments
Open
1 task

test: 테스트를 위한 Customizer 적용 #110

Jinwon-Dev opened this issue Aug 1, 2023 · 0 comments
Labels
refactoring refactoring to better code test test to function working

Comments

@Jinwon-Dev
Copy link
Member

Description

현재는 AutoParams 라이브러리를 사용하여 임의의 객체를 주입받아 테스트를 진행하고 있습니다.
테스트 코드의 불필요한 객체 생성과 길이를 줄여주지만, 임의의 객체에는 더미값이 들어가 있어서 정교한 테스트에는 무리가 있습니다.

따라서 AutoParams의 기능 중 하나인 Customizer를 사용하여 필요할 때 지정한 필드로 객체가 생성되고, AutoParams가 주입하여 정교한 테스트가 가능할 수 있도록 하겠습니다.


To-do

  • 도메인 별 Customizer 개발

ETC

기타사항

@Jinwon-Dev Jinwon-Dev added refactoring refactoring to better code test test to function working labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring refactoring to better code test test to function working
Projects
None yet
Development

No branches or pull requests

1 participant