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

Unify class-based tests #486

Merged
merged 8 commits into from
Dec 10, 2024
Merged

Unify class-based tests #486

merged 8 commits into from
Dec 10, 2024

Conversation

jorisdral
Copy link
Collaborator

@jorisdral jorisdral commented Dec 3, 2024

Reduce duplication by using the unified class everywhere in our tests, which means we can remove the Normal and Monoidal classes altogether.

@jorisdral
Copy link
Collaborator Author

This is a WIP, so not yet ready for review

The intent is to convert the tests in this module to use the unified class
instead of the `Normal` class.
Having renamed the relevant module in the previous commit, we now switch to
using the unified class instead of the `Normal` class.
The `Normal` class-based tests have been converted to use the unified class, but
there are still two tests for the `Monoidal` class that we can port to the
unified class-based tests.
Since switching to using the unified class everywhere in our tests, these
modules have now become obsolete.
The unified model can now use the `LookupResult`, `QueryResult` and `Update`
types that are defined in the unified public API.
@jorisdral jorisdral force-pushed the jdral/unified-class-tests branch from 25de29a to aa22af7 Compare December 4, 2024 14:39
@jorisdral jorisdral marked this pull request as ready for review December 4, 2024 14:39
@jorisdral
Copy link
Collaborator Author

Ready for review now!

@jorisdral jorisdral force-pushed the jdral/unified-class-tests branch from e4864da to 0dec722 Compare December 4, 2024 16:14
@jorisdral jorisdral mentioned this pull request Dec 6, 2024
@jorisdral jorisdral added this pull request to the merge queue Dec 10, 2024
Copy link
Collaborator

@dcoutts dcoutts left a comment

Choose a reason for hiding this comment

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

LGTM!

Merged via the queue into main with commit d2d60a2 Dec 10, 2024
27 checks passed
@jorisdral jorisdral deleted the jdral/unified-class-tests branch December 10, 2024 14:44
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