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

Use the MetricsTestKit in the MetricsTests rather than using a copy of the TestMetrics utilities #128

Merged
merged 1 commit into from
May 26, 2023

Conversation

hamzahrmalik
Copy link
Contributor

Use the MetricsTestKit in the MetricsTests rather than using a copy of the TestMetrics utilities

Motivation:

Currently we have a copy of TestMetrics within the test target, which is entirely redundant

Modifications:

Make the test target rely on the existing MetricsTestKit target. Expand the functionality of MetricsTestKit to fill gaps needed for these existing tests

Result:

We lose the copy, and we exercise the public MetricsTestKit which gives us some confidence that it works

@hamzahrmalik hamzahrmalik force-pushed the metric_test_refactor branch 2 times, most recently from 58477f1 to e921a05 Compare May 25, 2023 21:17
Copy link
Member

@ktoso ktoso left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@ktoso ktoso merged commit 9d5ff3d into apple:main May 26, 2023
@ktoso ktoso added this to the 2.3.5 milestone May 26, 2023
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