Skip to content

[ECO-5582] Added comprehensive unit tests#14

Merged
sacOO7 merged 1 commit into
mainfrom
feature/unit-tests
Oct 9, 2025
Merged

[ECO-5582] Added comprehensive unit tests#14
sacOO7 merged 1 commit into
mainfrom
feature/unit-tests

Conversation

@sacOO7

@sacOO7 sacOO7 commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

@sacOO7 sacOO7 force-pushed the feature/target-netstandard2.0 branch from 4b38ad0 to 134fe55 Compare October 8, 2025 14:30
@sacOO7 sacOO7 force-pushed the feature/unit-tests branch from 8dedf70 to 0bd5fe2 Compare October 8, 2025 15:01
Base automatically changed from feature/target-netstandard2.0 to main October 9, 2025 02:10
@sacOO7 sacOO7 force-pushed the feature/unit-tests branch 2 times, most recently from da456e8 to e1c9b07 Compare October 9, 2025 03:00
@sacOO7 sacOO7 requested review from Copilot and ttypic October 9, 2025 03:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive unit tests using the standardized vcdiff-tests test suite. The changes introduce a structured testing framework with 85 tests across multiple categories to validate the VCDIFF decoder implementation.

Key changes:

  • Added git submodule integration for standardized test data
  • Implemented comprehensive test suite with multiple test categories (positive, negative, general, and fuzz tests)
  • Updated project dependencies and CI configuration to support the new testing infrastructure

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Added detailed setup instructions for git submodules and Windows-specific configuration
IO.Ably.DeltaCodec/Vcdiff/IOHelper.cs Fixed pluralization logic in error message
IO.Ably.DeltaCodec.Test/vcdiff-tests Added git submodule reference for standardized test data
IO.Ably.DeltaCodec.Test/VcdiffTestSuiteFixture.cs New comprehensive test fixture with 85 standardized tests across multiple categories
IO.Ably.DeltaCodec.Test/VcdiffDecoderFixture.cs Updated assertion syntax to modern NUnit style
IO.Ably.DeltaCodec.Test/README.md Added documentation for the new test suite structure and usage
IO.Ably.DeltaCodec.Test/IO.Ably.DeltaCodec.Test.csproj Updated NUnit dependencies and added System.Text.Json package
.gitmodules Added submodule configuration for vcdiff-tests repository
.github/workflows/check.yml Updated CI to clone submodules recursively

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sacOO7 sacOO7 marked this pull request as ready for review October 9, 2025 03:02
@sacOO7 sacOO7 force-pushed the feature/unit-tests branch from e1c9b07 to da95384 Compare October 9, 2025 03:04
@github-actions

github-actions Bot commented Oct 9, 2025

Copy link
Copy Markdown

Test Results

93 tests   92 ✅  0s ⏱️
 1 suites   1 💤
 1 files     0 ❌

Results for commit 1fa8a47.

♻️ This comment has been updated with latest results.

@sacOO7 sacOO7 force-pushed the feature/unit-tests branch 4 times, most recently from ce671e2 to 1fa8a47 Compare October 9, 2025 09:50
- Added comprehensive unit tests covering edge cases for delta decoding
- Integrated vcdiff-tests submodule for standardized test coverage
- Updated GitHub CI workflow for recursive checkout with submodules
@sacOO7 sacOO7 force-pushed the feature/unit-tests branch from 1fa8a47 to 690ead8 Compare October 9, 2025 09:54

@ttypic ttypic left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sacOO7 sacOO7 merged commit a17d671 into main Oct 9, 2025
2 checks passed
@sacOO7 sacOO7 deleted the feature/unit-tests branch October 9, 2025 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants