Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- feat(cli): refactor check command interface from positional arguments to `--conn` and `--table` options
- feat(cli): add comprehensive test coverage for new CLI interface functionality
- feat(cli): support explicit table name specification independent of database URL
- feat(schema): add comprehensive multi-table support for schema validation
- feat(schema): support multi-table rules format with table-level configuration options
- feat(schema): add Excel multi-sheet file support as data source
- feat(schema): implement table-grouped output display for multi-table validation results
- feat(schema): add table-level options support (strict_mode, case_insensitive)
- feat(tests): add comprehensive multi-table functionality test coverage
- feat(tests): add multi-table Excel file validation test scenarios

### Changed
- **BREAKING CHANGE**: CLI interface changed from `vlite-cli check <source>` to `vlite-cli check --conn <connection> --table <table_name>`
- refactor(cli): update SourceParser to accept optional table_name parameter
- refactor(cli): modify check command to pass table_name to SourceParser.parse_source()
- refactor(tests): update all existing CLI tests to use new interface format
- refactor(tests): add new test cases specifically for table name parameter validation
- refactor(schema): enhance schema command to support both single-table and multi-table formats
- refactor(schema): improve output formatting with table-grouped results display
- refactor(schema): enhance rule decomposition logic for multi-table support
- refactor(data-validator): improve multi-table detection and processing capabilities
- refactor(schema): preserve field order from initial JSON definition instead of alphabetical sorting
- refactor(schema): consolidate field validation information display to single line per field

### Fixed
- fix(cli): resolve issue where `--table` parameter was not correctly passed to backend
- fix(cli): ensure table name from `--table` option takes precedence over table name in database URL
- fix(tests): update regression tests to use new CLI interface format
- fix(tests): resolve test failures caused by interface changes
- fix(schema): resolve multi-table rules validation and type checking issues
- fix(schema): improve table name detection and validation in multi-table scenarios
- fix(schema): enhance error handling for multi-table validation workflows
- fix(schema): ensure schema-only rule fields are not omitted from validation results
- fix(schema): properly display skip conventions for non-existent columns (FIELD_MISSING/TYPE_MISMATCH)

### Removed
- **BREAKING CHANGE**: remove backward compatibility for old positional argument interface
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,17 @@ The project includes comprehensive tests to ensure reliability. If you encounter
# Run all tests with coverage
pytest -vv --cov

# Run tests quietly (suppress debug messages)
python scripts/run_tests_quiet.py --cov

# Run specific test categories
pytest tests/unit/ -v # Unit tests only
pytest tests/integration/ -v # Integration tests
pytest tests/e2e/ -v # End-to-end tests

# Run specific tests quietly
python scripts/run_tests_quiet.py tests/unit/ -v

# Code quality checks
pre-commit run --all-files

Expand Down
Loading