Skip to content

Conversation

@TechDufus
Copy link
Owner

Summary

  • Add OPENKANBAN_CONFIG_DIR env var support for test isolation (with XDG fallback)
  • Create internal/testutil package with TestEnv helper for isolated test environments
  • Add 5 integration tests for project/ticket lifecycle behind //go:build integration tag
  • Add Makefile with targets: test, test-unit, test-integration, test-all, coverage, lint
  • Update CI to run unit and integration tests in separate jobs
  • Document testing patterns in AGENTS.md for AI agent awareness

Usage

make test              # Unit tests (default)
make test-integration  # Integration tests (isolated)
make test-all          # Both

# Manual testing without touching real data
OPENKANBAN_CONFIG_DIR=/tmp/test openkanban

Add OPENKANBAN_CONFIG_DIR env var support for test isolation, enabling
integration tests to run without affecting user data. Includes Makefile
with test targets and CI workflow updates.
@TechDufus TechDufus marked this pull request as ready for review January 5, 2026 07:40
@TechDufus TechDufus merged commit 035b19d into main Jan 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants