Skip to content

test: add log reader test suite with file existence and content valid… #18

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

Merged
merged 3 commits into from
May 28, 2025

Conversation

dermatz
Copy link
Collaborator

@dermatz dermatz commented May 28, 2025

This pull request introduces a new test suite for the log reader functionality in the magento-log-viewer extension and updates the CHANGELOG.md file to reflect this addition. The test suite validates the existence, readability, and correct parsing of log files, ensuring robust functionality for the log viewer.

Test Suite Enhancements:

  • src/test/logReader.test.ts: Added a comprehensive test suite to validate the log reader functionality. Tests include checking file existence, content validation, and proper parsing of log levels such as INFO, WARN, DEBUG, ERROR, and CRITICAL.

Documentation Updates:

  • CHANGELOG.md: Updated to include the addition of the log reader test suite, documenting its purpose and scope.…ation

@dermatz dermatz merged commit eec4f4c into main May 28, 2025
4 checks passed
@dermatz dermatz deleted the ci/test branch May 28, 2025 22:17
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.

1 participant