-
Notifications
You must be signed in to change notification settings - Fork 0
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
Commits on Mar 12, 2024
-
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 committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for f798c6a - Browse repository at this point
Copy the full SHA f798c6aView commit details -
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 committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for f259a5f - Browse repository at this point
Copy the full SHA f259a5fView commit details -
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 committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 18083d2 - Browse repository at this point
Copy the full SHA 18083d2View commit details -
Update file path pattern in MiscTest.php test class to include files …
…from subdirectories.
Denis Smet committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for ac6e5c5 - Browse repository at this point
Copy the full SHA ac6e5c5View commit details -
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 committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 78ec043 - Browse repository at this point
Copy the full SHA 78ec043View commit details -
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 committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 17d5e47 - Browse repository at this point
Copy the full SHA 17d5e47View commit details -
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 committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 0b9dea8 - Browse repository at this point
Copy the full SHA 0b9dea8View commit details -
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 committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 437b166 - Browse repository at this point
Copy the full SHA 437b166View commit details -
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 committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 69d2e4a - Browse repository at this point
Copy the full SHA 69d2e4aView commit details -
Denis Smet committed
Mar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 7394fcd - Browse repository at this point
Copy the full SHA 7394fcdView commit details -
Add '--no-ansi' option in CommandsTest
Denis Smet committedMar 12, 2024 Configuration menu - View commit details
-
Copy full SHA for e826563 - Browse repository at this point
Copy the full SHA e826563View commit details