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

complete test coverage and remove unused exceptions #12

Merged
merged 3 commits into from
Oct 26, 2024
Merged

Conversation

walmir-silva
Copy link
Contributor

  • Complete test coverage for ProcessingResultCollection
  • Implement comprehensive tests for ProcessedData
  • Add full coverage for ProcessingError
  • Add tests for error hash generation
  • Cover all timestamp validations
  • Verify array conversions
  • Test error collections and data management

- Remove composer.lock from git tracking
- Add composer.lock to .gitignore

This prevents potential conflicts in dependency versions across different
environments while maintaining project stability through composer.json.
…lers

- Add ProcessorRuntimeException test coverage:
  * Tests for all static exception factory methods (2601-2606 error codes)
  * Proper error code and message assertions
  * Exception hierarchy validation

- Enhance ProcessorPipeline test coverage:
  * Test all pipeline operations (add, process, clear)
  * Validate processor state management
  * Error handling scenarios
  * Chain processing validation

- Complete ProcessorAttributeHandler test coverage:
  * Validation error handling
  * Processing error scenarios
  * Result collection management
  * Pipeline and processor interactions
  * Cache behavior
  * State reset functionality

- Fix inheritance-related test issues:
  * Proper mock configuration for inherited methods
  * Correct validation scenarios
  * Result transfer verification
  * Error propagation testing
COVERAGE:
- Complete test coverage for ProcessingResultCollection
- Implement comprehensive tests for ProcessedData
- Add full coverage for ProcessingError
- Add tests for error hash generation
- Cover all timestamp validations
- Verify array conversions
- Test error collections and data management

CLEANUP:
- Remove unused exception methods from ProcessorRuntimeException:
  * invalidProcessor()
  * invalidContext()
  * invalidConfiguration()
@walmir-silva walmir-silva merged commit 20aeaab into main Oct 26, 2024
1 check passed
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