finos / legend-studio

Legend Studio
https://legend.finos.org
Apache License 2.0
87 stars 113 forks source link

add debug option in mapping tests #3265

Closed MauricioUyaguari closed 1 month ago

MauricioUyaguari commented 2 months ago

Summary

https://github.com/finos/legend-studio/assets/29690824/cb415318-ece4-4c75-b73e-ab39014bea43

https://github.com/finos/legend-studio/assets/29690824/8f9ac5dd-5f81-4ad3-87ee-e323f4e52779

How did you test this change?

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: ee4f4844d6755dd4f968a589cdf80a7a02b7019c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages | Name | Type | | --------------------------------------------- | ----- | | @finos/legend-application-studio | Minor | | @finos/legend-graph | Patch | | @finos/legend-application-studio-bootstrap | Patch | | @finos/legend-extension-assortment | Patch | | @finos/legend-extension-dsl-data-space-studio | Patch | | @finos/legend-extension-dsl-diagram | Patch | | @finos/legend-extension-dsl-persistence | Patch | | @finos/legend-extension-dsl-service | Patch | | @finos/legend-extension-dsl-text | Patch | | @finos/legend-extension-store-flat-data | Patch | | @finos/legend-extension-store-relational | Patch | | @finos/legend-extension-store-service-store | Patch | | @finos/legend-vscode-extension-dependencies | Patch | | @finos/legend-application-pure-ide | Patch | | @finos/legend-application-query-bootstrap | Patch | | @finos/legend-application-query | Patch | | @finos/legend-application-repl | Patch | | @finos/legend-extension-dsl-data-space | Patch | | @finos/legend-lego | Patch | | @finos/legend-query-builder | Patch | | @finos/legend-application-studio-deployment | Patch | | @finos/legend-application-pure-ide-deployment | Patch | | @finos/legend-application-query-deployment | Patch | | @finos/legend-application-repl-deployment | Patch | | @finos/legend-server-showcase-deployment | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 31.16635% with 360 lines in your changes missing coverage. Please review.

Project coverage is 46.21%. Comparing base (f16d66b) to head (ee4f484). Report is 14 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3265 +/- ## ========================================== - Coverage 47.41% 46.21% -1.20% ========================================== Files 2033 2086 +53 Lines 347782 357206 +9424 Branches 15236 15217 -19 ========================================== + Hits 164886 165092 +206 - Misses 182029 191176 +9147 - Partials 867 938 +71 ``` | [Files](https://app.codecov.io/gh/finos/legend-studio/pull/3265?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos) | Coverage Δ | | |---|---|---| | [...raph/src/graph-manager/AbstractPureGraphManager.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-graph%2Fsrc%2Fgraph-manager%2FAbstractPureGraphManager.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWdyYXBoL3NyYy9ncmFwaC1tYW5hZ2VyL0Fic3RyYWN0UHVyZUdyYXBoTWFuYWdlci50cw==) | `93.70% <100.00%> (+0.04%)` | :arrow_up: | | [packages/legend-graph/src/index.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-graph%2Fsrc%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWdyYXBoL3NyYy9pbmRleC50cw==) | `0.00% <0.00%> (ø)` | | | [...graph-manager/protocol/pure/v1/engine/V1\_Engine.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-graph%2Fsrc%2Fgraph-manager%2Fprotocol%2Fpure%2Fv1%2Fengine%2FV1_Engine.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWdyYXBoL3NyYy9ncmFwaC1tYW5hZ2VyL3Byb3RvY29sL3B1cmUvdjEvZW5naW5lL1YxX0VuZ2luZS50cw==) | `37.23% <37.50%> (+<0.01%)` | :arrow_up: | | [...r/protocol/pure/v1/engine/V1\_EngineServerClient.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-graph%2Fsrc%2Fgraph-manager%2Fprotocol%2Fpure%2Fv1%2Fengine%2FV1_EngineServerClient.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWdyYXBoL3NyYy9ncmFwaC1tYW5hZ2VyL3Byb3RvY29sL3B1cmUvdjEvZW5naW5lL1YxX0VuZ2luZVNlcnZlckNsaWVudC50cw==) | `47.49% <35.71%> (-0.16%)` | :arrow_down: | | [...serializationHelpers/V1\_TestSerializationHelper.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-graph%2Fsrc%2Fgraph-manager%2Fprotocol%2Fpure%2Fv1%2Ftransformation%2FpureProtocol%2FserializationHelpers%2FV1_TestSerializationHelper.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWdyYXBoL3NyYy9ncmFwaC1tYW5hZ2VyL3Byb3RvY29sL3B1cmUvdjEvdHJhbnNmb3JtYXRpb24vcHVyZVByb3RvY29sL3NlcmlhbGl6YXRpb25IZWxwZXJzL1YxX1Rlc3RTZXJpYWxpemF0aW9uSGVscGVyLnRz) | `69.80% <73.33%> (+0.44%)` | :arrow_up: | | [...aph/metamodel/pure/test/result/DebugTestsResult.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-graph%2Fsrc%2Fgraph%2Fmetamodel%2Fpure%2Ftest%2Fresult%2FDebugTestsResult.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWdyYXBoL3NyYy9ncmFwaC9tZXRhbW9kZWwvcHVyZS90ZXN0L3Jlc3VsdC9EZWJ1Z1Rlc3RzUmVzdWx0LnRz) | `60.52% <60.52%> (ø)` | | | [...tor-state/mapping/testable/MappingTestableState.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-application-studio%2Fsrc%2Fstores%2Feditor%2Feditor-state%2Felement-editor-state%2Fmapping%2Ftestable%2FMappingTestableState.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWFwcGxpY2F0aW9uLXN0dWRpby9zcmMvc3RvcmVzL2VkaXRvci9lZGl0b3Itc3RhdGUvZWxlbWVudC1lZGl0b3Itc3RhdGUvbWFwcGluZy90ZXN0YWJsZS9NYXBwaW5nVGVzdGFibGVTdGF0ZS50cw==) | `25.86% <5.00%> (-0.62%)` | :arrow_down: | | [...rotocol/pure/v1/engine/test/V1\_DebugTestsResult.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-graph%2Fsrc%2Fgraph-manager%2Fprotocol%2Fpure%2Fv1%2Fengine%2Ftest%2FV1_DebugTestsResult.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWdyYXBoL3NyYy9ncmFwaC1tYW5hZ2VyL3Byb3RvY29sL3B1cmUvdjEvZW5naW5lL3Rlc3QvVjFfRGVidWdUZXN0c1Jlc3VsdC50cw==) | `69.23% <69.23%> (ø)` | | | [...pureGraph/to/helpers/V1\_TestResultBuilderHelper.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-graph%2Fsrc%2Fgraph-manager%2Fprotocol%2Fpure%2Fv1%2Ftransformation%2FpureGraph%2Fto%2Fhelpers%2FV1_TestResultBuilderHelper.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWdyYXBoL3NyYy9ncmFwaC1tYW5hZ2VyL3Byb3RvY29sL3B1cmUvdjEvdHJhbnNmb3JtYXRpb24vcHVyZUdyYXBoL3RvL2hlbHBlcnMvVjFfVGVzdFJlc3VsdEJ1aWxkZXJIZWxwZXIudHM=) | `29.35% <32.65%> (+0.66%)` | :arrow_up: | | [...ph-manager/protocol/pure/v1/V1\_PureGraphManager.ts](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree&filepath=packages%2Flegend-graph%2Fsrc%2Fgraph-manager%2Fprotocol%2Fpure%2Fv1%2FV1_PureGraphManager.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos#diff-cGFja2FnZXMvbGVnZW5kLWdyYXBoL3NyYy9ncmFwaC1tYW5hZ2VyL3Byb3RvY29sL3B1cmUvdjEvVjFfUHVyZUdyYXBoTWFuYWdlci50cw==) | `49.60% <8.33%> (-0.78%)` | :arrow_down: | | ... and [2 more](https://app.codecov.io/gh/finos/legend-studio/pull/3265?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos) | | ... and [209 files with indirect coverage changes](https://app.codecov.io/gh/finos/legend-studio/pull/3265/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=finos)