Skip to content

Add verify tests for extended test coverage #186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

OleRoss
Copy link
Contributor

@OleRoss OleRoss commented Apr 21, 2025

Motivation

The current test infrastructure requires quite a bit of manual setup for each added test case.
Personally, I had good experiences using Verify for snapshot testing of source generators.
Since this project is similar, I propose adding snapshot testing to simplify extending the test base.

Note: If this is not a direction you want to take, feel free to close the PR. If you are interested, I would extend to additional test cases and address code style.

Changes

  • Added a new project (might be merged with the existing test project)
  • Set up the verify and xunit infrastructure
  • Adding SettingTests using a cross-platform-default.json ffi-x file to verify that settings are applied correctly easily

@lithiumtoast
Copy link
Member

Thanks for the interest. I'm always looking at different ways to do things. I'll take a look at this over the weekend (April 26 - April 27).

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