Skip to content

test: add CLI unit tests, integration tests, and criterion benchmarks#11

Merged
ankarhem merged 2 commits into
mainfrom
test/tests-and-benchmarks
Apr 27, 2026
Merged

test: add CLI unit tests, integration tests, and criterion benchmarks#11
ankarhem merged 2 commits into
mainfrom
test/tests-and-benchmarks

Conversation

@ankarhem
Copy link
Copy Markdown
Member

Summary

  • M3: 20 unit tests for cli.rs covering argument parsing, validation, limit bounds, and sort-direction enums
  • M4: 4 integration tests in tests/cli_integration.rs (--help, --version, no-args, unknown-command)
  • M13: Criterion benchmarks in benches/ for timerange parsing and JSON serialization/deserialization

Test plan

  • cargo check passes
  • All 229 tests pass (205 existing + 20 new unit + 4 integration)
  • cargo check --benches compiles cleanly

@ankarhem ankarhem merged commit 219838a into main Apr 27, 2026
7 checks passed
@ankarhem ankarhem deleted the test/tests-and-benchmarks branch April 27, 2026 06:21
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