diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-24 21:24:53 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-24 21:24:53 +0300 |
| commit | 934642630363a3f6a5d8ccb7304c79988a26f510 (patch) | |
| tree | 7da9487877a29e9b17dbe8571e7287c23b713460 /integrationtests/dmap4_query1.csv.expected | |
| parent | b7a3e95e44cfcc324e5a54d6ba30fc0d83993dde (diff) | |
Add test helpers and refactoring guide for integration tests
- Created testhelpers.go with reusable utilities to reduce code duplication
- Added helper functions for common patterns:
- skipIfNotIntegrationTest() for test skipping
- TestServer for managing server lifecycle
- CommandArgs for building command arguments
- File cleanup helpers with t.Cleanup()
- Dual mode test runner
- Output verification helpers
- Created REFACTORING_GUIDE.md documenting:
- Common patterns found across tests
- Refactoring strategy and benefits
- Examples showing 40-50% code reduction
- Metrics and next steps
This sets the foundation for incrementally refactoring the integration tests
to be more maintainable and less error-prone.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/dmap4_query1.csv.expected')
0 files changed, 0 insertions, 0 deletions
