Skip to content

test: add comprehensive unit tests for improved coverage#6

Merged
Berektassuly merged 1 commit intomainfrom
claude/add-chatpack-tests-vtPId
Dec 27, 2025
Merged

test: add comprehensive unit tests for improved coverage#6
Berektassuly merged 1 commit intomainfrom
claude/add-chatpack-tests-vtPId

Conversation

@Berektassuly
Copy link
Copy Markdown
Owner

  • Add tests for config.rs (all parser configs and builders)
  • Add tests for error.rs (error variants, From conversions)
  • Add tests for parser.rs (Platform enum, create_parser, ParseIterator)
  • Add tests for parsers (Telegram, Instagram, WhatsApp, Discord)
  • Add tests for streaming parsers (progress, iterators, error handling)
  • Add tests for parsing/discord.rs (stream messages, stickers)
  • Add edge_cases.rs integration tests (Unicode, timestamps, filters)
  • Expand proptest.rs property-based tests

Coverage improved from 59.88% to 84.51%

- Add tests for config.rs (all parser configs and builders)
- Add tests for error.rs (error variants, From conversions)
- Add tests for parser.rs (Platform enum, create_parser, ParseIterator)
- Add tests for parsers (Telegram, Instagram, WhatsApp, Discord)
- Add tests for streaming parsers (progress, iterators, error handling)
- Add tests for parsing/discord.rs (stream messages, stickers)
- Add edge_cases.rs integration tests (Unicode, timestamps, filters)
- Expand proptest.rs property-based tests

Coverage improved from 59.88% to 84.51%
@Berektassuly Berektassuly merged commit 4273dc5 into main Dec 27, 2025
6 of 7 checks passed
@Berektassuly Berektassuly deleted the claude/add-chatpack-tests-vtPId branch December 27, 2025 15:00
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

3 participants