-
Notifications
You must be signed in to change notification settings - Fork 44
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
Convert the explain tests to use the new explain setup #953
Labels
Milestone
Comments
shahzadlone
added
area/testing
Related to any test or testing suite
code quality
Related to improving code quality
labels
Nov 25, 2022
4 tasks
There is roughly around 8k lines of test code that needs to be converted and I am halfway there but I don't want to rush it and accidentally miss a test case that existed before. Will push this for v0.5 |
shahzadlone
changed the title
Convert the explain tests to use the new explain setup
[EPIC] Convert the explain tests to use the new explain setup
Apr 20, 2023
shahzadlone
changed the title
[EPIC] Convert the explain tests to use the new explain setup
Convert the explain tests to use the new explain setup
Apr 20, 2023
This was referenced Apr 20, 2023
shahzadlone
added a commit
that referenced
this issue
Apr 21, 2023
- Part of #953 - Resolves #1379 - 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. - Removes example tests that we don't need any more, if there is anything in them documentation wise that a reviewer wants found helpful I can introduce a README.md upon request. - Removes some tests that provide no value wrt to non-execution explain tests.
This was referenced Apr 27, 2023
shahzadlone
added a commit
that referenced
this issue
May 1, 2023
-Resolves #1417 - 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
added a commit
that referenced
this issue
May 3, 2023
## Relevant issue(s) - Part of #953 - Resolves #1429 ## 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 limit explain tests to the new explain setup. Splits limit tests into multiple files.
This was referenced May 10, 2023
shahzadlone
added a commit
that referenced
this issue
May 10, 2023
## Relevant issue(s) - Part of #953 - Resolves #1479 ## 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 top-level explain tests.
This was referenced May 10, 2023
shahzadlone
added a commit
that referenced
this issue
May 11, 2023
## Relevant issue(s) - Part of #953 - Resolves #1484 ## 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 explain average tests. - Separates the average join tests into a new file.
shahzadlone
added a commit
that referenced
this issue
May 11, 2023
## Relevant issue(s) - Part of #953 - Resolves #1485 ## 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 explain sum tests. - Splits sum join tests in a separate file.
shahzadlone
added a commit
that referenced
this issue
May 11, 2023
## Relevant issue(s) - Part of #953 - Resolves #1486 ## 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 explain count tests. - Splits count join tests in a separate file. - Adds some new tests that were missed before.
This was referenced May 25, 2023
shahzadlone
added a commit
that referenced
this issue
May 26, 2023
## Relevant issue(s) - Part of #953 - Resolves #1536 ## Description This PR is the last PR for default explain test conversions, this PR converts the remaining group tests. - This PR converts all the default explain group tests. - Separates some tests into their group child select cases. - Added a few tests where there was a test gap.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
…k#1380) - Part of sourcenetwork#953 - Resolves sourcenetwork#1379 - 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. - Removes example tests that we don't need any more, if there is anything in them documentation wise that a reviewer wants found helpful I can introduce a README.md upon request. - Removes some tests that provide no value wrt to non-execution explain tests.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
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.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
…#1446) ## Relevant issue(s) - Part of sourcenetwork#953 - Resolves sourcenetwork#1429 ## Description 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 limit explain tests to the new explain setup. Splits limit tests into multiple files.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
…rk#1474) ## Relevant issue(s) - Part of sourcenetwork#953 - Resolves sourcenetwork#1473 ## Description 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. - Fixes test names and some fixtures for the limit test. - This PR converts all the default dagscan explain tests to the new explain setup. - Converts a wrong usage explain test case.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
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.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
…#1478) ## Relevant issue(s) - Part of sourcenetwork#953 - Resolves sourcenetwork#1477 ## Description 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 order explain tests to the new explain setup. - Splits the order join tests into a separate file.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
…work#1480) ## Relevant issue(s) - Part of sourcenetwork#953 - Resolves sourcenetwork#1479 ## Description 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 top-level explain tests.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
…rk#1487) ## Relevant issue(s) - Part of sourcenetwork#953 - Resolves sourcenetwork#1484 ## Description 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 explain average tests. - Separates the average join tests into a new file.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
) ## Relevant issue(s) - Part of sourcenetwork#953 - Resolves sourcenetwork#1485 ## Description 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 explain sum tests. - Splits sum join tests in a separate file.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
…#1488) ## Relevant issue(s) - Part of sourcenetwork#953 - Resolves sourcenetwork#1486 ## Description 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 explain count tests. - Splits count join tests in a separate file. - Adds some new tests that were missed before.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
Feb 23, 2024
…#1537) ## Relevant issue(s) - Part of sourcenetwork#953 - Resolves sourcenetwork#1536 ## Description This PR is the last PR for default explain test conversions, this PR converts the remaining group tests. - This PR converts all the default explain group tests. - Separates some tests into their group child select cases. - Added a few tests where there was a test gap.
shahzadlone
added a commit
to shahzadlone/defradb
that referenced
this issue
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
Description
Currently we have 3 types of testing frameworks:
Situation
We are currently in the middle of the migrations between:
a. (1) -> (2) ... This is what this ticket is for (#953)
b. (1) -> (3)
c. After (4) is done do: (2) -> (4)
Default Explain Tests to convert:
NOTE: Must be done as part of (a) before we can do (4).
Simple Explain tests to convert:
Explain Explain tests to convert:
NOTE: the execute explain tests already use (3), convert them to (4) after (c).
The text was updated successfully, but these errors were encountered: