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 test file names #2709

Merged
merged 6 commits into from
May 30, 2023
Merged

Unify test file names #2709

merged 6 commits into from
May 30, 2023

Conversation

w84thesun
Copy link
Contributor

@w84thesun w84thesun commented May 24, 2023

Description

Readiness checklist

  • I added/updated unit tests.
  • I added/updated integration/compatibility tests.
  • I added/updated comments and checked rendering.
  • I made spot refactorings.
  • I updated user documentation.
  • I ran task all, and it passed.
  • I ensured that PR title is good enough for the changelog.
  • (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@w84thesun w84thesun added the code/chore Code maintenance improvements label May 24, 2023
@w84thesun w84thesun self-assigned this May 24, 2023
@w84thesun w84thesun added the not ready Issues that are not ready to be worked on; PRs that should skip CI label May 24, 2023
@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Merging #2709 (254e961) into main (6cca151) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2709   +/-   ##
=======================================
  Coverage   26.19%   26.19%           
=======================================
  Files         441      441           
  Lines       22619    22619           
=======================================
  Hits         5926     5926           
  Misses      16087    16087           
  Partials      606      606           
Flag Coverage Δ
integration 4.96% <ø> (ø)
mongodb 4.96% <ø> (ø)
unit 24.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@w84thesun w84thesun removed the not ready Issues that are not ready to be worked on; PRs that should skip CI label May 30, 2023
@w84thesun w84thesun added this to the Next milestone May 30, 2023
@w84thesun w84thesun marked this pull request as ready for review May 30, 2023 09:03
@w84thesun w84thesun requested a review from a team as a code owner May 30, 2023 09:03
@w84thesun w84thesun requested review from AlekSi and chilagrow May 30, 2023 09:03
@w84thesun w84thesun enabled auto-merge (squash) May 30, 2023 09:03
@w84thesun w84thesun requested review from a team, rumyantseva and noisersup May 30, 2023 09:03
rumyantseva
rumyantseva previously approved these changes May 30, 2023
Copy link
Contributor

@rumyantseva rumyantseva left a comment

Choose a reason for hiding this comment

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

These changes make total sense!

E.g. if we had TestCountCommand we would want to name the compat test TestCountCommandCompat, so we can run all the count command tests via something like env GOFLAGS='-run=TestCountCommand*' task test-integration-pg, and we don't need to remember at which part of the name Compat is set :)

chilagrow
chilagrow previously approved these changes May 30, 2023
noisersup
noisersup previously approved these changes May 30, 2023
@AlekSi
Copy link
Member

AlekSi commented May 30, 2023

@w84thesun linter fails

Copy link
Contributor

@rumyantseva rumyantseva left a comment

Choose a reason for hiding this comment

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

:shipit:

@w84thesun w84thesun merged commit f988145 into FerretDB:main May 30, 2023
@w84thesun w84thesun deleted the unifiy-test-names branch May 30, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Code maintenance improvements
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants