Skip to content

Commit 6eb16fe

Browse files
committed
Document the purpose of the test
1 parent 6e471aa commit 6eb16fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

rewrite-core/src/test/java/org/openrewrite/table/SourceFileResultsTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ void hierarchical() {
5757

5858
@Test
5959
void deepHierarchyRecordsAllLevels() {
60+
// Our Sankey visualization of recipe execution relies on the data table recording all levels of the hierarchy,
61+
// not just the leaf recipes. This test ensures that the data table includes rows for both the parent and leaf
62+
// recipes, even when the parent recipe doesn't directly perform any transformations (i.e., it has zero
63+
// estimated time saving).
6064
rewriteRun(
6165
spec -> spec
6266
.recipeFromYaml(

0 commit comments

Comments
 (0)