Skip to content

Conversation

@adrienaury
Copy link
Member

No description provided.

@adrienaury adrienaury linked an issue May 14, 2025 that may be closed by this pull request
@adrienaury adrienaury requested a review from Copilot May 14, 2025 16:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces additional test cases for the fold command by adding new YAML configuration files and associated fixed-width data files. It also updates the test harness to point to the correct file paths and extends dependency management in go.mod.

  • Added test data schemas and configuration files for nested, multiple field, and simple record cases.
  • Updated file references in the test runner (fold_test.go) for the new complete test cases.
  • Extended go.mod with new dependencies to support additional test coverage.

Reviewed Changes

Copilot reviewed 80 out of 80 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
internal/appli/command/testdata/fold/04-nested/schema.yaml Added nested schema definition for PERSON and EMPLOYMENT records.
internal/appli/command/testdata/fold/04-nested.yaml Added configuration for nested record test with separator.
internal/appli/command/testdata/fold/03-multiple/*.yaml and files Added schema and test data for multiple field record test without separator.
internal/appli/command/testdata/fold/02-simple-separator/* Added schema, test configuration and fixed-width data for a record test with newline separator.
internal/appli/command/testdata/fold/01-simple/* Added schema, test configuration and fixed-width data for a record test without separator.
internal/appli/command/fold_test.go Updated file paths in test harness to use new complete test files.
internal/appli/command/command_test.go Added helper functions to load and run command tests from file.
go.mod Extended dependency list with new test-related modules.

@adrienaury adrienaury merged commit a0cc2f8 into main May 15, 2025
1 check passed
@adrienaury adrienaury deleted the test-complete-test-int branch May 15, 2025 11:33
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.

test: complete venom tests

2 participants