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: Convert explain join tests to new explain setup #1476

Merged

Conversation

shahzadlone
Copy link
Member

Relevant issue(s)

Description

Continue converting explain tests to the new explain setup before we can integrate the entire setup to the new action based testing setup. #953 Has a lot more detail on the entire plan.

  • Splits type join one tests into a separate file.
  • Added some type join many tests into a separate file.
  • This PR converts all the default typeJoin explain tests to the new explain setup.
  • Keeps the mixed test that use both type of joins in the original file.

`typeJoinOne`, or `typeJoinMany`cases.
`type_join_test.go` file will contain mixed tests.

Following commits will add the separated `typeJoinOne`
and `typeJoinMany` test cases in their respective files.
@shahzadlone shahzadlone added area/testing Related to any test or testing suite code quality Related to improving code quality labels May 10, 2023
@shahzadlone shahzadlone added this to the DefraDB v0.5.1 milestone May 10, 2023
@shahzadlone shahzadlone requested a review from a team May 10, 2023 11:52
@shahzadlone shahzadlone self-assigned this May 10, 2023
@codecov
Copy link

codecov bot commented May 10, 2023

Codecov Report

Merging #1476 (11a8d87) into develop (053a08c) will increase coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1476      +/-   ##
===========================================
+ Coverage    72.17%   72.25%   +0.08%     
===========================================
  Files          185      185              
  Lines        18226    18226              
===========================================
+ Hits         13154    13169      +15     
+ Misses        4031     4022       -9     
+ Partials      1041     1035       -6     

see 8 files with indirect coverage changes

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

@shahzadlone shahzadlone force-pushed the test/refactor-join-explain-tests branch from 939d43a to 11a8d87 Compare May 10, 2023 15:11
@shahzadlone shahzadlone changed the title test: Convert explain join tests to new explain setup test: Convert explain join tests to new explain setu May 10, 2023
@shahzadlone shahzadlone changed the title test: Convert explain join tests to new explain setu test: Convert explain join tests to new explain setup May 10, 2023
@shahzadlone shahzadlone merged commit b830de0 into sourcenetwork:develop May 10, 2023
10 checks passed
@shahzadlone shahzadlone deleted the test/refactor-join-explain-tests branch May 10, 2023 17:14
shahzadlone added a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
…1476)

## Relevant issue(s)
- Part of sourcenetwork#953
- Resolves sourcenetwork#1475

## Description
Continue converting explain tests to the new explain setup before we can
integrate the entire setup to the new action based testing setup. sourcenetwork#953
Has a lot more detail on the entire plan.

- Splits type join one tests into a separate file.
- Added some type join many tests into a separate file.
- This PR converts all the default typeJoin explain tests to the new
explain setup.
- Keeps the mixed test that use both type of joins in the original file.
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 default join explain tests to new explain setup.
2 participants