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

유닛테스트에서 직접 DB에 접근하여 데이터를 불러오는 처리 수정 #14

Open
GoodGoodJM opened this issue Jan 29, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@GoodGoodJM
Copy link
Member

현재 유닛테스트가 직접 DB에 접근하여 데이터를 가져와 테스트하는 방식으로 되어있다.
DB접근과 데이터 획득은 ORM이 부담하는 부분이 아니며, 이는 ADO나 각 Vendor가 부담하는 부분이다.

이러한 처리를 직접 DB를 불러오는 것이 아니라, IDataReader를 상속받아 하는 처리로 수정하여 테스트 할 수 있게 한다.

이는 코드 구조의 변경을 필요로한다.

@GoodGoodJM GoodGoodJM self-assigned this Jan 29, 2018
@GoodGoodJM GoodGoodJM added this to the v1.0.0 milestone Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants