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

tlsn-core fixtures #359

Merged
merged 8 commits into from
Oct 10, 2023
Merged

tlsn-core fixtures #359

merged 8 commits into from
Oct 10, 2023

Conversation

sinui0
Copy link
Member

@sinui0 sinui0 commented Oct 8, 2023

This PR moves the fixtures (again) into tlsn-core and eliminates a cyclic dependency that currently exists between tlsn-core and tlsn-fixtures.

I would prefer to have the fixtures in a separate crate but we need to use them for tests in tlsn-core so this is path of least resistance without a bunch of duplication.

Changes

  • Moved tlsn-fixtures into a module in tlsn-core
  • Added a feature flag fixtures to tlsn-core
  • Added running tests with --all-features in our CI
  • Added a suite of functions for constructing fixtures.

Copy link
Member

@themighty1 themighty1 left a comment

Choose a reason for hiding this comment

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

gw, some minor comments

tlsn/tlsn-core/src/fixtures/cert.rs Outdated Show resolved Hide resolved
tlsn/tlsn-core/src/fixtures/cert.rs Outdated Show resolved Hide resolved
Copy link
Member

@th4s th4s left a comment

Choose a reason for hiding this comment

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

👍

@sinui0 sinui0 merged commit 1c72731 into dev Oct 10, 2023
11 checks passed
@sinui0 sinui0 deleted the feature/fixtures branch October 10, 2023 20:13
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