# Test

> Run tests for Aenea project - unit tests, integration tests, coverage reports, watch mode Use when this capability is needed.

- Skill: `tomevault-io/test-36` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/test-36`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/test-36/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/test-36

---


# Test

テスト実行とデバッグ。

## Commands

```bash
npm test                    # All tests
npm run test:watch          # Watch mode
npm run test:coverage       # Coverage
npm test -- path/to/test.ts # Specific file
```

## Key Test Files

- [tests/aenea/memory/memory-consolidator.test.ts](tests/aenea/memory/memory-consolidator.test.ts)
- [tests/utils/energy-management.test.ts](tests/utils/energy-management.test.ts)
- [tests/integration/database-persistence.test.ts](tests/integration/database-persistence.test.ts)

## Troubleshooting

```bash
# Database lock
pkill -f "aenea" && rm -f data/test_*.db
```

## Detailed Reference

Test philosophy, benchmarks, coverage areas: [reference.md](reference.md)

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/yui-synth-lab) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-16 -->

