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

test(i): Convert simple explain test to new explain setup #1543

Conversation

shahzadlone
Copy link
Member

@shahzadlone shahzadlone commented May 29, 2023

Relevant issue(s)

Description

This PR is the last PR that finishes all old explain test conversions to the new explain setup. This PR converts the simple explain tests and reorganizes some fixtures.

Note: After this PR is merged, this (#1243) can also be resolved in a follow-up PR.

@shahzadlone shahzadlone added area/testing Related to any test or testing suite code quality Related to improving code quality labels May 29, 2023
@shahzadlone shahzadlone added this to the DefraDB v0.6 milestone May 29, 2023
@shahzadlone shahzadlone requested a review from a team May 29, 2023 12:54
@shahzadlone shahzadlone self-assigned this May 29, 2023
@shahzadlone shahzadlone changed the title test(i): Convert simple explain test to the new explain setup test(i): Convert simple explain test to new explain setup May 29, 2023
- Only keep the required fixtured within each test package.
- Move the common schema, and runner function to one level above.
@shahzadlone shahzadlone force-pushed the test/refactor-simple-explain-tests-to-new-setup branch from 6d4d767 to 593e89c Compare May 29, 2023 12:58
@shahzadlone shahzadlone force-pushed the test/refactor-simple-explain-tests-to-new-setup branch from 593e89c to c11d346 Compare May 29, 2023 13:07
@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Merging #1543 (c11d346) into develop (9b01928) will increase coverage by 0.09%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1543      +/-   ##
===========================================
+ Coverage    72.10%   72.19%   +0.09%     
===========================================
  Files          185      185              
  Lines        18374    18374              
===========================================
+ Hits         13249    13266      +17     
+ Misses        4076     4064      -12     
+ Partials      1049     1044       -5     

see 4 files with indirect coverage changes

Copy link
Collaborator

@fredcarle fredcarle left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@AndrewSisley AndrewSisley left a comment

Choose a reason for hiding this comment

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

LGTM - cheers for splitting out the boilerplate/move commit, made review easier :)

@shahzadlone shahzadlone merged commit d19bf85 into sourcenetwork:develop May 29, 2023
@shahzadlone shahzadlone deleted the test/refactor-simple-explain-tests-to-new-setup branch May 29, 2023 15:51
shahzadlone added a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
…ork#1543)

## Relevant issue(s)
- Resolves sourcenetwork#953

## Description
This PR is the last PR that finishes all old explain test conversions to
the new explain setup. This PR converts the simple explain tests and
reorganizes some fixtures.

Note: After this PR is merged, this
(sourcenetwork#1243) can also be
resolved in a follow-up PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Related to any test or testing suite code quality Related to improving code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert the explain tests to use the new explain setup
3 participants