Skip to content

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Oct 4, 2025

This PR migrates the test files to a shared Git submodule and enables the with-serde feature by default to improve usability.

  • Moved test files from tests/cantools-dbcs/ to the shared submodule oxibus/shared-test-files
  • Enabled with-serde feature by default while maintaining backward compatibility

@Copilot Copilot AI review requested due to automatic review settings October 4, 2025 06:15
Copy link

@Copilot Copilot AI left a comment

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 migrates the test files to a shared Git submodule and enables the with-serde feature by default to improve usability.

  • Moved test files from tests/cantools-dbcs/ to the shared submodule oxibus/shared-test-files
  • Enabled with-serde feature by default while maintaining backward compatibility

Reviewed Changes

Copilot reviewed 149 out of 149 changed files in this pull request and generated 1 comment.

File Description
tests/test-snapshots.rs Added new test file using shared submodule for DBC parsing validation
tests/snapshots-dbc-cantools/*.snap Updated snapshot files with new source paths and attribute definitions
tests/shared-test-files Added Git submodule pointing to shared test files repository
tests/cantools-dbcs/*.dbc Removed individual DBC test files now available in shared submodule

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

Use test files from [oxibus/shared-test-files](https://github.com/oxibus/shared-test-files). This way all parsers and code generators can be tested consistently with the same set of test files.
Copy link

codecov bot commented Oct 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nyurik nyurik merged commit 4b87588 into oxibus:main Oct 4, 2025
6 checks passed
@nyurik nyurik deleted the snapshots branch October 4, 2025 07:57
@nyurik nyurik mentioned this pull request Oct 4, 2025
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