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 filter explain tests to new explain setup #1380

Conversation

shahzadlone
Copy link
Member

@shahzadlone shahzadlone commented Apr 20, 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.

  • 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 shahzadlone added the area/testing Related to any test or testing suite label Apr 20, 2023
@shahzadlone shahzadlone added this to the DefraDB v0.5.1 milestone Apr 20, 2023
@shahzadlone shahzadlone requested a review from a team April 20, 2023 19:00
@shahzadlone shahzadlone self-assigned this Apr 20, 2023
@shahzadlone shahzadlone added the action/no-benchmark Skips the action that runs the benchmark. label Apr 20, 2023
@sourcenetwork sourcenetwork deleted a comment from source-devs Apr 20, 2023
(explainTest.ExpectedFullGraph != nil ||
explainTest.ExpectedPatterns != nil ||
explainTest.ExpectedTargets != nil) {
require.Fail(t, "Expected error should not have other expected results with it.", explainTest.Description)
Copy link
Contributor

Choose a reason for hiding this comment

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

😆 👍

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.

Looks good to me :)

@shahzadlone
Copy link
Member Author

For some odd reason I don't know why CodeCov report isn't showing. I really want to ensure code coverage doesn't change.

@shahzadlone shahzadlone merged commit 855f6fe into develop Apr 21, 2023
12 checks passed
@shahzadlone shahzadlone deleted the lone/refactor/convert-basic-default-explain-tests-to-new-setup branch April 21, 2023 14:01
shahzadlone added a commit to shahzadlone/defradb that referenced this pull request 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.
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 basic default explain tests including filter tests.
2 participants