@fabricorg/databricks-testkit 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -2
- package/dist/index.cjs +903 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +100 -1
- package/dist/index.d.ts +100 -1
- package/dist/index.js +881 -76
- package/dist/index.js.map +1 -1
- package/package.json +13 -11
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Fabric
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -82,8 +82,10 @@ The check refuses to use `DBX_TEST_PIPELINE_ID`, protecting production telemetry
|
|
|
82
82
|
Target packs bind a workload adapter, offline unit tests, live checks,
|
|
83
83
|
documentation, certification scope, and Quality Center metadata into one
|
|
84
84
|
versioned contract. Built-in packs cover SQL/Delta, Lakeflow ingestion,
|
|
85
|
-
Jobs/code, Unity Catalog storage, Apps operations,
|
|
86
|
-
|
|
85
|
+
Jobs/code, Unity Catalog storage, Apps operations, Lakeflow Jobs orchestration,
|
|
86
|
+
advanced streaming/CDC, AI/BI and Genie, MLflow, feature engineering, Model
|
|
87
|
+
Serving and AI Gateway, Vector Search/RAG/agents, federation/sharing/Clean
|
|
88
|
+
Rooms, and security/cost/DR.
|
|
87
89
|
|
|
88
90
|
```ts
|
|
89
91
|
import {
|
|
@@ -108,6 +110,13 @@ The Lakeflow Jobs adapter models notebook, wheel, JAR, Spark Python, submit,
|
|
|
108
110
|
pipeline, SQL, dbt, nested-job, condition, and for-each tasks, including graph
|
|
109
111
|
validation, cancellation, repair, and task-level terminal-state assertions.
|
|
110
112
|
|
|
113
|
+
Advanced packs use `DatabricksAdvancedWorkloadsAdapter`, an injectable typed
|
|
114
|
+
wrapper over the supported pipeline, Lakeview, Genie, MLflow, Unity Catalog,
|
|
115
|
+
Online/Synced Table, Model Serving, Vector Search, federation, sharing, Clean
|
|
116
|
+
Room, policy, and warehouse APIs. Pack-required request JSON and SQL assertions
|
|
117
|
+
exercise the data plane; metadata-only probes are not enough to satisfy a
|
|
118
|
+
certification-ready `doctor` result.
|
|
119
|
+
|
|
111
120
|
Docs: `apps/docs/content/docs/testing/` · Plan:
|
|
112
121
|
`.weave/plans/databricks-testing.md` · BDD layer: `@fabricorg/databricks-bdd`
|
|
113
122
|
(Phase 2).
|