Skip to content
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

feat: improve test runner and accessor (#91) #91

Merged
merged 1 commit into from
Oct 6, 2024
Merged

feat: improve test runner and accessor (#91) #91

merged 1 commit into from
Oct 6, 2024

Conversation

tkrop
Copy link
Owner

@tkrop tkrop commented Oct 6, 2024

This pull request improves the test runner adding a new feature for filtering test cases using regular expressions and improves the builder/accessor providing more tests (including bug fixes) and an additional feature for finding typed and named fields in structures. Unfortunately, it still fails for simple structs wrapped in interfaces and thereby cannot replace a specialized version used for parameter structs yet.

However, the tests around the accessor pattern made a mock generator issue obvious. Currently, the mock generator cannot provide mocks for incomplete loaded and broken packages because of the early failure handing it implements. It currently looks, as if the early failure handling could be simply dropped. Only four test would need adjustment mapping the failures differently.

@tkrop tkrop added the enhancement New feature or request label Oct 6, 2024
@tkrop tkrop self-assigned this Oct 6, 2024
@tkrop tkrop merged commit b05baaf into main Oct 6, 2024
7 of 8 checks passed
@tkrop tkrop deleted the improve-test branch October 6, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant