Skip to content

test: achieve 100% coverage for passive package #118

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 6 commits into from
Jul 2, 2025

Conversation

ic0ns
Copy link
Contributor

@ic0ns ic0ns commented Jun 18, 2025

Summary

  • Add comprehensive unit tests for the de.rub.nds.scanner.core.passive package
  • Achieve 100% line and branch coverage for all classes in the package

ic0ns and others added 6 commits June 18, 2025 21:19
- Add TestTrackableValue implementation with Jackson support
- Add AnotherTestTrackableValue for mixed type testing
- Add TestState class for StatExtractor testing
- Add TestStatExtractor concrete implementation
- Test all constructors and methods
- Test identical/different value detection edge cases
- Test null value handling
- Test Jackson serialization
- Test generic type handling
- Test abstract class through concrete implementation
- Test constructor and all methods
- Test null value extraction
- Test container management
- Test multiple extractions
- Test extractor management
- Test state extraction workflow
- Test state counter functionality
- Test extractor order preservation
- Test complex scenarios with null values
- Test TrackableValue interface Jackson annotations
- Test serialization of different implementations
- Test container serialization
- Test null value serialization
- Test complete workflow serialization
@TrueSkrillor TrueSkrillor enabled auto-merge July 2, 2025 11:33
@TrueSkrillor TrueSkrillor merged commit 9fdcfe8 into main Jul 2, 2025
13 checks passed
@TrueSkrillor TrueSkrillor deleted the test/passive-package-coverage branch July 2, 2025 13:51
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.

2 participants