Skip to content

Commit 80890ed

Browse files
authored
Merge pull request #73 from myoshi2891/dev
docs: fix inventory total count inconsistency in coverage dashboard
2 parents 1a993ce + 6033952 commit 80890ed

17 files changed

Lines changed: 7689 additions & 3211 deletions

CLAUDE.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CLAUDE.md
22

3-
Updated 2026-06-05
3+
Updated 2026-06-08
44

55
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
66

@@ -18,7 +18,7 @@ bun run dev # 開発サーバー起動(HMR あり)
1818
bun run build # 本番ビルド(.next/ へ出力)
1919
bun start # ビルド成果物をプロダクションモードで起動
2020
bun run lint # ESLint 実行
21-
bun test # ユニットテスト (bun test, 146 specs)
21+
bun test # ユニットテスト (bun test, 149 specs)
2222
```
2323

2424
### E2E テスト (Playwright)
@@ -119,6 +119,9 @@ Next.js App Router 構成:
119119
- `app/istqb-ct-mbt-complete-guide/istqb-ct-mbt-complete-guide.css` — モデルベーステスト(CT-MBT)ガイド固有スタイル
120120
- `app/istqb-ct-mbt-complete-guide/page.tsx` — モデルベーステスト(CT-MBT)ガイドページ
121121
- `app/istqb-ct-mbt-complete-guide/NavBar.tsx` — CT-MBT ページ固有スティッキーナビ(`'use client'``IntersectionObserver` でアクティブリンク制御)
122+
- `app/istqb-ct-aut-complete-guide/istqb-ct-aut-complete-guide.css` — 自動車ソフトウェアテスター(CT-AuT)ガイド固有スタイル
123+
- `app/istqb-ct-aut-complete-guide/page.tsx` — 自動車ソフトウェアテスター(CT-AuT)ガイドページ
124+
- `app/istqb-ct-aut-complete-guide/NavBar.tsx` — CT-AuT ページ固有スティッキーナビ(`'use client'``IntersectionObserver` でアクティブリンク制御)
122125
- `app/istqb-ct-act-complete-guide/istqb-ct-act-complete-guide.css` — 受入テスト(CT-AcT)ガイド固有スタイル
123126
- `app/istqb-ct-act-complete-guide/page.tsx` — 受入テスト(CT-AcT)ガイドページ
124127
- `app/istqb-ct-act-complete-guide/NavBar.tsx` — CT-AcT ページ固有スティッキーナビ(`'use client'``IntersectionObserver` でアクティブリンク制御)
@@ -269,7 +272,10 @@ bun run lint # ESLint エラーなし
269272
### 外部リンク
270273

271274
すべての外部リンクに `target="_blank" rel="noopener noreferrer"` を付与する。
272-
��. プロジェクト自身のテストカバレッジを 1 ファイルで把握できるスタンドアロン HTML を追加した。
275+
276+
### テストカバレッジ可視化
277+
278+
プロジェクト自身のテストカバレッジを 1 ファイルで把握できるスタンドアロン HTML を追加した。
273279

274280
- 追加ファイル: [docs/coverage-dashboard.html](coverage-dashboard.html)(単一ファイル、外部依存は Google Fonts のみ)
275281
- 構成: KPI 概要 / 11 カテゴリ × 6 種別マトリクス / 23 ページ別カバレッジ / 既存 13 テストのインベントリ / P0-P3 ネクストアクション / ISTQB テストレベル整合表
@@ -325,13 +331,13 @@ bun run lint # ESLint エラーなし
325331

326332
```text
327333
コンテキスト:
328-
- 最新 HEAD: `680c9f4`
329-
- **全 HTML 移行完了**: プロジェクトルートにあったすべての静的 HTML ページの Next.js App Router への移行が完了しました
330-
- 合計 30 ルート(ホーム + 29 ガイド)が Next.js で管理されています。
334+
- 最新 HEAD: `abf37c8`
335+
- **新規ガイド追加中**: CT-AuTの移行が完了し、次はCT-GaMeの移行に入ります
336+
- 合計 32 ルート(ホーム + 31 ガイド)が Next.js で管理されています。
331337
- 各種テスト(ユニット、型チェック、ESLint)はすべて最新の構成に同期され、通過しています。
332338

333339
【指示】
334-
すべての移行タスクが完了しました。今後の新機能実装やコンテンツのブラッシュアップについて指示を仰ぎます
340+
CT-AuTガイドの移行が完了しました。次のタスク(CT-GaMeガイドの移行)について指示を仰ぎます
335341
```
336342

337343
---

GEMINI.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Project Overview
22

3-
Updated 2026-06-05
3+
Updated 2026-06-08
44

55
This project is a Next.js (App Router) web application designed as a comprehensive learning resource and guide for Quality Assurance (QA) and Software Testing. It provides extensive documentation on modern software testing methodologies (Unit, Functional, Integration, E2E, BDD, Security, Accessibility) as well as AI system testing based on ISTQB CT-AI and CT-GenAI standards.
66

@@ -157,6 +157,7 @@ This project is a Next.js (App Router) web application designed as a comprehensi
157157
| `istqb-ct-ai-complete-guide.html` | `/istqb-ct-ai-complete-guide` | ✅ NavBar あり |
158158
| `istqb-ct-genai-complete-guide.html` | `/istqb-ct-genai-complete-guide` | ✅ NavBar + aria-current あり |
159159
| `istqb-ct-mbt-complete-guide.html` | `/istqb-ct-mbt-complete-guide` | ✅ NavBar + aria-current あり |
160+
| `istqb-ct-aut-complete-guide.html` | `/istqb-ct-aut-complete-guide` | ✅ NavBar あり |
160161
| `istqb-ct-pt-complete-guide.html` | `/istqb-ct-pt-complete-guide` | ✅ NavBar あり |
161162
| `istqb-ct-act-complete-guide.html` | `/istqb-ct-act-complete-guide` | ✅ NavBar + aria-current あり |
162163
| `istqb-ct-mat-complete-guide.html` | `/istqb-ct-mat-complete-guide` | ✅ NavBar + aria-current あり |
@@ -183,7 +184,8 @@ This project is a Next.js (App Router) web application designed as a comprehensi
183184

184185
| ファイル | 予定ルート | 状態 | 備考 |
185186
|---|---|---|---|
186-
| なし | | | |
187+
| `istqb-ct-game-complete-guide.md` | `/istqb-ct-game-complete-guide` | ⏳ 未着手 | HTML版追加済み |
188+
| `istqb-ct-gt-complete-guide.md` | `/istqb-ct-gt-complete-guide` | ⏳ 未着手 | HTML版未生成 |
187189

188190
## 既知の留保事項
189191

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ソフトウェアテスト実施概要
22

3-
最終更新日: 2026-06-05
3+
最終更新日: 2026-06-08
44

55
本プロジェクトにおいて、システムの品質(正しく動くか・快適に使えるか)を担保するために実施するテスト項目の概要と目的を以下に定義します。
66

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
'use client';
2+
3+
import { useEffect, useState } from 'react';
4+
5+
export default function NavBar() {
6+
const [activeId, setActiveId] = useState('');
7+
8+
useEffect(() => {
9+
const observer = new IntersectionObserver(
10+
(entries) => {
11+
const visibleEntries = entries.filter((e) => e.isIntersecting);
12+
if (visibleEntries.length > 0) {
13+
const best = visibleEntries.reduce((prev, curr) =>
14+
curr.intersectionRatio > prev.intersectionRatio ? curr : prev
15+
);
16+
setActiveId(best.target.id);
17+
}
18+
},
19+
{ rootMargin: '-60px 0px -80% 0px' }
20+
);
21+
22+
const sections = document.querySelectorAll('section[id]');
23+
sections.forEach((s) => observer.observe(s));
24+
25+
return () => observer.disconnect();
26+
}, []);
27+
28+
const link = (id: string, label: string) => (
29+
<a
30+
href={`#${id}`}
31+
className={activeId === id ? 'active' : ''}
32+
aria-current={activeId === id ? 'location' : undefined}
33+
>
34+
{label}
35+
</a>
36+
);
37+
38+
return (
39+
<nav className="sticky-nav" aria-label="CT-AuT セクションナビゲーション">
40+
<div className="nav-inner">
41+
<span className="nav-brand">CT-AuT</span>
42+
{link('overview', 'Ch.0 概要')}
43+
{link('ch1', 'Ch.1 自動車SW')}
44+
{link('aspice', 'Ch.2.1 ASPICE')}
45+
{link('iso26262', 'Ch.2.2 ISO26262')}
46+
{link('autosar', 'Ch.2.3 AUTOSAR')}
47+
{link('compare', 'Ch.2.4 比較')}
48+
{link('xil', 'Ch.3 XiL')}
49+
{link('techniques', 'Ch.4 技法')}
50+
{link('exam', '試験対策')}
51+
{link('refs', '参照URL')}
52+
</div>
53+
</nav>
54+
);
55+
}

0 commit comments

Comments
 (0)