Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update validation for multiple CSV files. #14

Merged
merged 11 commits into from
Mar 12, 2024
Merged

Update validation for multiple CSV files. #14

merged 11 commits into from
Mar 12, 2024

Commits on Mar 12, 2024

  1. Update validation for multiple CSV files.

    The "ValidateCsv" command has been updated to handle multiple CSV files from given paths, providing the ability to validate multiple files at once. Relevant error messages and logs have been updated to reflect this change. Additionally, helper methods have been added to the Utils class for improved path handling.
    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    f798c6a View commit details
    Browse the repository at this point in the history
  2. Refactor CSV validation for batch processing.

    The code has been updated to validate multiple CSV files at once when provided with a batch of paths. This includes corresponding adjustments in reporting errors, displaying success messages, and handling paths using added methods in the Utils class. Updated test suites to comply with the changes.
    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    f259a5f View commit details
    Browse the repository at this point in the history
  3. Update validation and error reporting for multiple CSV files

    The commit includes refactoring to support batch processing of multiple CSV files, improving error reporting readability, and ensuring success messages for each validated file are displayed. Related test suites were also updated to match these changes. Changes also made to handle filepaths more efficiently within the Utils class.
    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    18083d2 View commit details
    Browse the repository at this point in the history
  4. Update file path pattern in MiscTest.php test class to include files …

    …from subdirectories.
    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    ac6e5c5 View commit details
    Browse the repository at this point in the history
  5. Improve error reporting and streamline codebase

    Updated the error reporting in 'ValidateCsv' file to include the word 'Error' in red for clearer visibility. Also simplified the depth condition in the 'Utils' file and made the 'location' element more concise in 'ValidatorTest'. This makes the code cleaner, more readable and enhances the visibility of errors.
    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    78ec043 View commit details
    Browse the repository at this point in the history
  6. Update error messaging and enhance sorting in CSV validation

    This commit refactors the error message output when validating CSVs to better signify invalid files. Additionally, the process of finding files has been improved with clear depth conditions and sorted file results. An overall update to test cases and documentation reflects these changes for consistency.
    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    17d5e47 View commit details
    Browse the repository at this point in the history
  7. Add S3 storage support to README checklist

    This commit adds a new task in the README's feature checklist to include validation support for files stored in an S3 bucket. This update indicates an intended expansion of the validation process to incorporate data stored in the cloud.
    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    0b9dea8 View commit details
    Browse the repository at this point in the history
  8. Mark several tasks as completed in README

    This commit updates the README file, indicating the completion of several tasks related to CSV file validation. The tasks include file discovery with regex filename pattern, validating all files in a folder, and checking multiple CSV files in one schema.
    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    437b166 View commit details
    Browse the repository at this point in the history
  9. Refactor code to improve file sorting and add more tests

    This update tweaks the file sorting process in Utils.php to use ksort instead of sortByName for more accurate results. Also, redundant code in the CommandsTest unit test has been eliminated and additional test cases for multiple CSV options have been added to ensure a comprehensive testing suite.
    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    69d2e4a View commit details
    Browse the repository at this point in the history
  10. Reorder filenames in MiscTest

    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    7394fcd View commit details
    Browse the repository at this point in the history
  11. Add '--no-ansi' option in CommandsTest

    Denis Smet committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    e826563 View commit details
    Browse the repository at this point in the history