Skip to content

test(mindrecord): 마음의 기록 계약 4종 fake 16벌을 testFixtures 4벌로 — 픽스처 규약 확립 #1045

Closed

Description

@OnlyReadOneBook

#1030 의 feature/mindrecord/domain 몫이다. 4종 16벌 → 4벌.

계약 이전 이후
DailyQuestionRepository 6벌 1벌
DiaryRepository 5벌 1벌
MindRecordReceiverRepository 3벌 1벌
WeeklyReportRepository 2벌 1벌

이 배치가 픽스처 규약을 처음 세운다 — AndroidDomainConventionPlugin 의 testFixtures.enable, 메모리 저장소 기본 동작, onX 람다, strict() + unexpectedCall. 뒤 배치(#1041 #1042 #1043 #1044)가 이걸 그대로 따른다.

완료 기준

  • 위 4종이 feature/mindrecord/domain/src/testFixtures 정본 1벌씩으로 접힌다.
  • 계약에 메서드를 추가하면 :feature:mindrecord:domain:compileDebugTestFixturesKotlin 이 실패하는 것을 실측한다.
  • :koverXmlReportCi :konsist:test :app:compileDebugAndroidTestKotlin ktlintCheck 통과.
  • 단언 의미는 바꾸지 않는다. 기록 접근자 이름 변경까지만 허용한다.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions