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: 중복되는 테스트 코드 리팩토링 #126

Open
1 task
Jeongjjuna opened this issue Nov 6, 2024 · 0 comments
Open
1 task

test: 중복되는 테스트 코드 리팩토링 #126

Jeongjjuna opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels
🚀 BE 우리는 백엔드 개발자! 🛠 Refactor 리팩토링을 해봐요! 💯 Test 테스트를 작성해보자!

Comments

@Jeongjjuna
Copy link
Contributor

✨ 어떤 기능인가요?

  • BDD 구조에서 given 에 있는 초기 데이터를 메서드로 분리하고 재활용하면 코드를 깔끔하게 관리할 수 있을 것 같습니다.

📝 작업 상세 내용

  • given 에 존재하는 초기 데이터를 data class 로 분리하고, copy()를 활용하도록 개선

📷 참고할만한 자료(선택)

https://tech.kakaopay.com/post/katfun-joy-kotlin/

@Jeongjjuna Jeongjjuna added 🚀 BE 우리는 백엔드 개발자! 🛠 Refactor 리팩토링을 해봐요! 💯 Test 테스트를 작성해보자! labels Nov 6, 2024
@Jeongjjuna Jeongjjuna self-assigned this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 BE 우리는 백엔드 개발자! 🛠 Refactor 리팩토링을 해봐요! 💯 Test 테스트를 작성해보자!
Projects
None yet
Development

No branches or pull requests

1 participant