From 21cdf0e465cc4ee2e5ea12caf51dde95302176bf Mon Sep 17 00:00:00 2001 From: sepeterson <10458078+sepeterson@users.noreply.github.com> Date: Thu, 16 Jul 2026 10:22:31 -0500 Subject: [PATCH] axe some redundancy --- .gitignore | 5 +---- AGENTS.md | 2 +- agent-docs/testing/e2e.md | 2 +- agent-docs/testing/test-integrations.md | 11 ----------- 4 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 agent-docs/testing/test-integrations.md diff --git a/.gitignore b/.gitignore index df912f2de..2b767b7c1 100644 --- a/.gitignore +++ b/.gitignore @@ -118,9 +118,6 @@ artifacts/ # Rubocop cache **/tmp/rubocop_cache -# Claude Code local config, specialty agents, commands, hooks, and skills. -# Shared AI-agent guidance lives in AGENTS.md, .claude/CLAUDE.md, and agent-docs/. -# Ignore .claude/ contents but keep the tracked CLAUDE.md wrapper. A parent dir -# excluded with `.claude/` can't have children re-included, so ignore per-entry. +# Claude Code local config except CLAUDE.md .claude/* !.claude/CLAUDE.md diff --git a/AGENTS.md b/AGENTS.md index 93f0c99e1..10e2572ca 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -309,7 +309,7 @@ In-depth architecture and convention docs for both humans and AI agents. Read th - `architecture/` — `upload-system.md`, `navigation-patterns.md`, `api-layer.md`, `realm-and-zustand.md` (includes working with Realm objects in the React layer) - `conventions/` — `component-conventions.md`, `i18n-conventions.md`, `import-aliases.md`, `typescript.md` -- `testing/` — `test-core.md`, `test-components.md`, `test-integrations.md`, `integration-test-analysis.md`, `e2e.md` (Detox + Maestro + iOS verification) +- `testing/` — `test-core.md`, `test-components.md`, `integration-test-analysis.md`, `e2e.md` (Detox + Maestro + iOS verification) ## Common Pitfalls diff --git a/agent-docs/testing/e2e.md b/agent-docs/testing/e2e.md index 96b6350a6..f4e243c50 100644 --- a/agent-docs/testing/e2e.md +++ b/agent-docs/testing/e2e.md @@ -75,4 +75,4 @@ Hard-won gotchas when driving the live app (e.g. via the Maestro MCP tools) rath ## Related -- Unit / component / integration testing: `test-core.md`, `test-components.md`, `test-integrations.md`, `integration-test-analysis.md` in this directory. +- Unit / component / integration testing: `test-core.md`, `test-components.md`, `integration-test-analysis.md` in this directory. diff --git a/agent-docs/testing/test-integrations.md b/agent-docs/testing/test-integrations.md deleted file mode 100644 index 1ec60ba05..000000000 --- a/agent-docs/testing/test-integrations.md +++ /dev/null @@ -1,11 +0,0 @@ -# Purpose: Test how components integrate with real systems like Realm database, API calls, and navigation. - -In the project directory, these tests are under /tests/integration/ - -For a comprehensive analysis of patterns, quality assessment, and strategic recommendations, see [integration-test-analysis.md](./integration-test-analysis.md). - -## Strategy: - - Real database: Use actual Realm instances (via setupUniqueRealm) and write real data - - Real navigation: Render components within the full navigation stack using renderAppWithComponent - - API mocking: Mock API responses (like inatjs.observations.fetch) but test the full data flow - - Cross-system testing: Verify data persistence, sync operations, and multi-component interactions \ No newline at end of file