Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Feature/#9 devlopment v1.0 #11

Merged
merged 20 commits into from
Feb 13, 2024
Merged

Feature/#9 devlopment v1.0 #11

merged 20 commits into from
Feb 13, 2024

Conversation

taiki-kuraishi
Copy link
Owner

チケットURL

#9

やったこと

  • nfc-readerの全てのイベントの実装とテストコードの記述
  • api-serverの全てのイベントの実装とテストコードの記述
  • api-serverの単体テスト

やってないこと

  • nfc-readerの単体テスト
  • 結合テスト

動作要件・動作確認方法

  • 動作要件
    windows WSL Ubuntu
  • 動作確認方法
    1. コンテナビルド
      docker-compose build
    2. コンテナ起動
      docker-compose up

テスト項目

カバレッジ率

ok      api/controller  0.005s  coverage: 88.0% of statements
ok      api/db  0.008s  coverage: 70.0% of statements
ok      api/migrate     0.004s  coverage: 0.0% of statements
ok      api/model       0.005s  coverage: [no statements]
ok      api/repository  0.005s  coverage: 70.0% of statements
ok      api/router      0.003s  coverage: 100.0% of statements
ok      api/usecase     0.005s  coverage: 70.6% of statements
ok      api/validator   0.005s  coverage: 100.0% of statements

※model,migrateディレクトリーには、テストはありません。

補足・懸念点

nfc_readerのテストについては、学生証(nfc)のモックを作成することが困難なため、nfc_readerのテストを断念しました

@taiki-kuraishi taiki-kuraishi added the feature 新しい機能 label Feb 13, 2024
@taiki-kuraishi taiki-kuraishi linked an issue Feb 13, 2024 that may be closed by this pull request
5 tasks
@IoriSuda IoriSuda merged commit 4bbe666 into main Feb 13, 2024
9 checks passed
@IoriSuda IoriSuda deleted the feature/#9-devlopment-v1.0 branch February 13, 2024 09:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature 新しい機能
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Devlopment-v1.0
2 participants