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

circuits: integration: Simplify integration tests #267

Merged
merged 2 commits into from
Nov 25, 2023

Conversation

joeykraut
Copy link
Member

Purpose

This PR removes many unnecessary integration tests in light of the mocking framework for MPC gadgets -- which has allowed most tests to be moved into unit tests where they belong.

Integration tests will be reserved for connecting circuits and end-to-end functionality. To that end, this PR reserves the match integration test. This will be augmented by a test for the settlement MPC circuit and the end-to-end collaborative proof.

Testing

  • Unit and integration tests pass

@joeykraut joeykraut marked this pull request as ready for review November 23, 2023 23:51
@joeykraut joeykraut requested a review from akirillo November 23, 2023 23:51
Base automatically changed from joey/match-tests to joey/circuits-refactor November 25, 2023 23:16
These tests are moved from the integration tests, they belong better
as unit tests for testing circuit boundary cases.
This removes many unnecessary integration tests in light of the mocking
framework for MPC gadgets -- which has allowed most tests to be moved
into unit tests where they belond.

Integration tests will be reserved for connecting circuits and end-to
-end functionality.
@joeykraut joeykraut force-pushed the joey/circuits-integration-tests branch from 2cdbee6 to 96c8d54 Compare November 25, 2023 23:21
@joeykraut joeykraut merged commit 77c2144 into joey/circuits-refactor Nov 25, 2023
1 of 3 checks passed
@joeykraut joeykraut deleted the joey/circuits-integration-tests branch November 25, 2023 23:21
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