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 mutation explain tests to new explain setup #1416

Conversation

shahzadlone
Copy link
Member

@shahzadlone shahzadlone commented Apr 27, 2023

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 setup. #953 Has a lot more detail on the entire plan.

This PR converts all the default mutation explain tests to the new explain setup.

  • Splits delete tests into two files one with error and without.
  • Splits multi tests from single function into separate test functions (easier to maintain and debug).
  • Removes some tests that provide no value wrt to non-execution explain tests.

@shahzadlone shahzadlone added area/testing Related to any test or testing suite action/no-benchmark Skips the action that runs the benchmark. labels Apr 27, 2023
@shahzadlone shahzadlone added this to the DefraDB v0.5.1 milestone Apr 27, 2023
@shahzadlone shahzadlone requested a review from a team April 27, 2023 18:41
@shahzadlone shahzadlone self-assigned this Apr 27, 2023
@shahzadlone shahzadlone force-pushed the test/convert-default-mutation-explain-tests branch from f8e4cf5 to 326b8c9 Compare April 27, 2023 18:52
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Merging #1416 (3e5924f) into develop (7233d0b) will decrease coverage by 0.10%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1416      +/-   ##
===========================================
- Coverage    72.28%   72.19%   -0.10%     
===========================================
  Files          185      185              
  Lines        18160    18160              
===========================================
- Hits         13127    13110      -17     
- Misses        4004     4018      +14     
- Partials      1029     1032       +3     

see 6 files with indirect coverage changes

@shahzadlone shahzadlone force-pushed the test/convert-default-mutation-explain-tests branch from 326b8c9 to eeaee3f Compare May 1, 2023 06:16
@shahzadlone shahzadlone requested a review from a team May 1, 2023 11:58
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

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 :)

@shahzadlone shahzadlone merged commit 0e3801e into sourcenetwork:develop May 1, 2023
@shahzadlone shahzadlone deleted the test/convert-default-mutation-explain-tests branch May 18, 2023 18:46
shahzadlone added a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
…ork#1416)

-Resolves sourcenetwork#1417

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

- This PR converts all the default mutation explain tests to the new explain setup.

- Splits delete tests into two files one with error and without.
- Splits multi tests from single function into separate test functions (easier to maintain and debug). 
- Removes some tests that provide no value wrt to non-execution explain tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/no-benchmark Skips the action that runs the benchmark. area/testing Related to any test or testing suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert default mutation explain tests
3 participants