Skip to content

Conversation

@nmollerup
Copy link
Owner

  • Add TestMetricGroupOutput with test cases for various tag configurations and metric scenarios (no tags, single tag, multiple tags, multiple metrics, and dots in metric names)
  • Add TestExecuteCheck with test cases covering normal operation, metrics mode, human-readable mode, extra tags, low thresholds, and pseudo filesystem inclusion
  • Remove debug print statement from checkArgs function in main.go
  • Achieves 100% function test coverage (all functions now tested)

- Add TestMetricGroupOutput with test cases for various tag configurations
  and metric scenarios (no tags, single tag, multiple tags, multiple metrics,
  and dots in metric names)
- Add TestExecuteCheck with test cases covering normal operation, metrics mode,
  human-readable mode, extra tags, low thresholds, and pseudo filesystem inclusion
- Remove debug print statement from checkArgs function in main.go
- Achieves 100% function test coverage (all functions now tested)
@nmollerup nmollerup merged commit 9ae3191 into main Dec 8, 2025
4 checks passed
@nmollerup nmollerup deleted the update_testing branch December 8, 2025 10:19
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