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

Add register and select ArbitraryBuilder by name #31

Open
mhyeon-lee opened this issue Oct 2, 2021 · 2 comments
Open

Add register and select ArbitraryBuilder by name #31

mhyeon-lee opened this issue Oct 2, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@mhyeon-lee
Copy link
Collaborator

여러 종류의 ArbitraryBuilder 를 등록하고 선택할 수 있도록 이름을 부여할 수 있도록 지원합니다.

@mhyeon-lee mhyeon-lee added the enhancement New feature or request label Oct 2, 2021
@seongahjo
Copy link
Contributor

engine 모듈이 추가되니 선택지가 늘어난 것 같은데요.
engine 모듈에서 테스트 메소드와 어노테이션 정보를 알 수 있다면 다음과 같이 처리하는 건 어떨까요?

ex)

@Test
void registerWithName(@RegisterName("deliveryNothing") DeliveryPolicy deliveryNothing){
   OrderSheet orderSheet = ...
}

@mhyeon-lee
Copy link
Collaborator Author

네 우선은 Annotation 지원보다는 programmatic 한 방법을 구현하고 Annotation 은 보조적인 방식으로 지원할 수 있게 고민하면 좋을거 같습니다.

@seongahjo seongahjo modified the milestone: 1.0.0 Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants