テスト自動化と品質担保の強化

- CalendarServiceに対するユニットテスト(ロード、保存の挙動)を実装
- Makefileにtestターゲットを追加し、コマンドラインからテスト実行を可能化
- Xcodeプロジェクト(yml)にテストターゲット(OreCalendarTests)とtest定義を追加
This commit is contained in:
2025-10-28 16:26:55 +09:00
parent 4d2f90f88d
commit 64d1afba83
3 changed files with 66 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: generate build all
.PHONY: generate build all test
all: build
@@ -7,6 +7,9 @@ generate:
build: generate
xcodebuild -scheme OreCalendar -destination 'platform=macOS' -derivedDataPath build build
test: generate
xcodebuild test -scheme OreCalendar -destination 'platform=macOS' -derivedDataPath build
release: build
rm -rf ~/Applications/OreCalendar.app ; true
mv build/Build/Products/Release/OreCalendar.app ~/Applications/OreCalendar.app