fixture-monkey
fixture-monkey copied to clipboard
Add Recorder in fixture-monkey-engine
- ArbitraryBuilder 에서 build 시 반환하는 Arbitrary 의 구조를 개선합니다.
- ArbitraryValue 가 Validation 과 ConstratinViolationException 등의 역할을 온전히 하지 못해서 구조를 다시 잡을 필요가 있습니다.
- ArbitraryValue 는 제거하고 ArbitraryBuilder 에서 Validation Filter 를 주입하도록 합니다.
- TooManyFilter... Exception 과 ConstratinViolationException 에 따른 기록과 로깅은 테스트 실패 callback 을 구현해서 기록하게 합니다.
- 기록을 위한 Recorder 설계가 필요합니다.
https://github.com/naver/fixture-monkey/pull/39#issuecomment-932788965

- ArbitraryValue 가 공개 클래스가 아니기 때문에 구조 변경이 사용자에게 영향을 끼치지는 않습니다.