Skip to content

metrics/plots: test metrics collection on no target on revision #4789

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

Merged
merged 4 commits into from
Oct 30, 2020

Conversation

pared
Copy link
Contributor

@pared pared commented Oct 26, 2020

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

Related to #4446, #4603

In this change I introduce test checking behavior common both to metrics and plots. In order to prevent test duplication among metrics and plots I created test_common under tests/func/metrics. I also moved
tests/func/metrics -> tests/func/metrics/metrics
tests/func/plots -> tests/func/metrics/plots
So that we would have logic package structure, where common tests would be above particular subcommand tests. Not sure if naming of "main" package is accurate. Considering that in our docs we name both plots and metrics as metrics I decided to go this way.

@pared pared added bugfix fixes bug ui user interface / interaction labels Oct 26, 2020
@pared pared changed the title metrics: include revision information when collecting metrics files metrics/plots: test metrics collection on no target on revision Oct 26, 2020
@pared pared changed the title metrics/plots: test metrics collection on no target on revision [WIP] metrics/plots: test metrics collection on no target on revision Oct 26, 2020
@pared pared requested review from pmrowla and efiop and removed request for pmrowla October 26, 2020 15:59
@pared pared changed the title [WIP] metrics/plots: test metrics collection on no target on revision metrics/plots: test metrics collection on no target on revision Oct 26, 2020
@efiop efiop merged commit 9940540 into iterative:master Oct 30, 2020
@jorgeorpinel
Copy link
Contributor

Considering that in our docs we name both plots and metrics as metrics I decided to go this way.

Yeah it's tricky. I'm considering suggesting "simple metrics" vs. "plot metrics" too. Just a note πŸ™‚

@jorgeorpinel
Copy link
Contributor

p.s. so it could be metrics/simple and metrics/plots

@pared pared deleted the fix_metrics branch January 4, 2022 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix fixes bug ui user interface / interaction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants