From 4c47caa3ec4a9097b6ffbcf5c443c140056c8923 Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Tue, 27 Feb 2024 17:13:56 -0500 Subject: [PATCH 1/9] Attempt to update to handle unit tests --- src/app/components/column_details/column_details.html | 4 ++-- src/app/components/references/index.js | 4 +++- src/app/index.routes.js | 9 +++++++++ src/app/services/node_selection_service.js | 5 +++-- src/app/services/project_service.js | 6 ++++++ 5 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/app/components/column_details/column_details.html b/src/app/components/column_details/column_details.html index b66f2dc4..70349675 100644 --- a/src/app/components/column_details/column_details.html +++ b/src/app/components/column_details/column_details.html @@ -13,7 +13,7 @@ Type Description Constraints - Tests + Data Tests More? @@ -104,7 +104,7 @@
Constraints
-
Generic Tests
+
Generic Data Tests
From a0007169d8b3360959db7b00e097a3186fe93fd5 Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Thu, 29 Feb 2024 16:03:42 -0500 Subject: [PATCH 5/9] Add "Unit Test" to some headings for diagnostic purposes --- src/app/docs/unit_test.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/docs/unit_test.html b/src/app/docs/unit_test.html index 9f9e560f..bbeb730f 100644 --- a/src/app/docs/unit_test.html +++ b/src/app/docs/unit_test.html @@ -27,8 +27,8 @@

@@ -37,7 +37,7 @@

-
Description
+
Description of Unit Test
@@ -50,7 +50,7 @@
Description
-
Depends On
+
Unit Test Depends On
From ad81775a236c979ff7a7f61a3ff6fc89ad7c44dc Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Fri, 1 Mar 2024 14:39:33 -0500 Subject: [PATCH 6/9] Reverse order of test and unit_test --- src/app/index.routes.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/index.routes.js b/src/app/index.routes.js index cd9c53fe..621e6c80 100644 --- a/src/app/index.routes.js +++ b/src/app/index.routes.js @@ -13,8 +13,8 @@ const templates = { source: require('./docs/source.html'), snapshot: require('./docs/snapshot.html'), seed: require('./docs/seed.html'), - test: require('./docs/test.html'), unit_test: require('./docs/unit_test.html'), + test: require('./docs/test.html'), analysis: require('./docs/analysis.html'), macro: require('./docs/macro.html'), exposure: require('./docs/exposure.html'), @@ -79,16 +79,16 @@ angular unique_id: {type: 'string'} }, }) - .state('dbt.test', { - url: 'test/:unique_id?section&' + graph_params, + .state('dbt.unit_test', { + url: 'unit_test/:unique_id?section&' + graph_params, controller: 'TestCtrl', templateUrl: templates.test, params: { unique_id: {type: 'string'} }, }) - .state('dbt.unit_test', { - url: 'unit_test/:unique_id?section&' + graph_params, + .state('dbt.test', { + url: 'test/:unique_id?section&' + graph_params, controller: 'TestCtrl', templateUrl: templates.test, params: { From 064913479b0a2e062d0c0b8115c5c89815ca6c67 Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Fri, 1 Mar 2024 15:02:55 -0500 Subject: [PATCH 7/9] specify unit_test template --- src/app/index.routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/index.routes.js b/src/app/index.routes.js index 621e6c80..3986e2e2 100644 --- a/src/app/index.routes.js +++ b/src/app/index.routes.js @@ -82,7 +82,7 @@ angular .state('dbt.unit_test', { url: 'unit_test/:unique_id?section&' + graph_params, controller: 'TestCtrl', - templateUrl: templates.test, + templateUrl: templates.unit_test, params: { unique_id: {type: 'string'} }, From 00554b2cabc7da8cc8f8b595f0ab9cd1489801f0 Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Thu, 7 Mar 2024 13:48:50 -0500 Subject: [PATCH 8/9] Remove extraneous "Unit Test" from unit_test template --- src/app/docs/unit_test.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/docs/unit_test.html b/src/app/docs/unit_test.html index bbeb730f..9f9e560f 100644 --- a/src/app/docs/unit_test.html +++ b/src/app/docs/unit_test.html @@ -27,8 +27,8 @@

@@ -37,7 +37,7 @@

-
Description of Unit Test
+
Description
@@ -50,7 +50,7 @@
Description of Unit Test
-
Unit Test Depends On
+
Depends On
From df3eb3fd435e9a26c86f02ec232e8bd19a7371d3 Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Mon, 11 Mar 2024 14:03:51 -0400 Subject: [PATCH 9/9] Changie --- .changes/unreleased/Docs-20240311-140344.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/Docs-20240311-140344.yaml diff --git a/.changes/unreleased/Docs-20240311-140344.yaml b/.changes/unreleased/Docs-20240311-140344.yaml new file mode 100644 index 00000000..6a78c95e --- /dev/null +++ b/.changes/unreleased/Docs-20240311-140344.yaml @@ -0,0 +1,6 @@ +kind: Docs +body: Enable display of unit tests +time: 2024-03-11T14:03:44.490834-04:00 +custom: + Author: gshank + Issue: "501"