forked from sourcenetwork/defradb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add new setup for testing explain functionality (sourcenetwork#949
) - Resolves sourcenetwork#521 - Description: This PR adds the testing setup for the `explain` feature to be more flexible and easier to manage going forward. This new setup will handle all explain types: `simple`, `debug`, `execute`, `predict`. The PR introduces three different types of test cases for asserting the results from an `explain` request. These can be asserted in one test case or smaller separate cases: 1) Being able to assert full explain graph or just quickly see the full graph to debug (like before). 2) Only matching the plan node ordering. 3) Targeting specific attributes only (option to also select their children nodes, or just it's attributes)
- Loading branch information
1 parent
6d3a58d
commit 297ce43
Showing
32 changed files
with
3,051 additions
and
2,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.