Skip to content

[4/5] SPM: Xcodeプロジェクト設定とIntent/共通テストを更新#19

Merged
stotic-dev merged 3 commits into
claude/spm-pr3-viewmodel-NLwKXfrom
claude/spm-pr4-tests-NLwKX
Mar 15, 2026
Merged

[4/5] SPM: Xcodeプロジェクト設定とIntent/共通テストを更新#19
stotic-dev merged 3 commits into
claude/spm-pr3-viewmodel-NLwKXfrom
claude/spm-pr4-tests-NLwKX

Conversation

@stotic-dev
Copy link
Copy Markdown
Owner

No description provided.

claude and others added 3 commits March 14, 2026 06:48
- project.pbxproj: LocalPackageのSPM参照を追加
  - XCLocalSwiftPackageReference, XCSwiftPackageProductDependency追加
  - app/widget/testターゲットにTimeWatcherCore/Feature/TestSupportを追加
- TestUtilities: @testable import TimeWatcher→import TimeWatcherCoreに変更
- OpenUrlViewModelTest: TimeWatcherFeatureからimportするよう更新
- TimerStartIntentTest/TimerStopIntentTest:
  - import TimeWatcherCore, TimeWatcherTestSupportに変更
  - setupLiveActivityManagerMock簡略化
    (ClosedRange<Date>検証→timeLapseString/timerStatus検証)

https://claude.ai/code/session_01QuAAadYpLRWRXW25J7R3vF
- import TimeWatcherCore, TimeWatcherTestSupport, @testable import TimeWatcherFeatureに変更
- setupLiveActivityManagerMock大幅簡略化:
  - 旧: ClosedRange<Date>を構築してlowerBound/upperBoundを比較
  - 新: timeLapseString/timerStatusのみを検証
  - expectedTimeLapseComponent/MilliSecパラメータを削除
- needThrowStartのエラーをActivityAuthorizationError.unsupported→
  LiveActivityRequestError.notFoundActivityに変更

https://claude.ai/code/session_01QuAAadYpLRWRXW25J7R3vF
@stotic-dev stotic-dev merged commit 29ce2ae into claude/spm-pr3-viewmodel-NLwKX Mar 15, 2026
@stotic-dev stotic-dev deleted the claude/spm-pr4-tests-NLwKX branch March 15, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants