dataops-testgen 2.2.0__py3-none-any.whl

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.
Files changed (270) hide show
  1. dataops_testgen-2.2.0.dist-info/LICENSE +203 -0
  2. dataops_testgen-2.2.0.dist-info/METADATA +287 -0
  3. dataops_testgen-2.2.0.dist-info/NOTICE +5 -0
  4. dataops_testgen-2.2.0.dist-info/RECORD +270 -0
  5. dataops_testgen-2.2.0.dist-info/WHEEL +5 -0
  6. dataops_testgen-2.2.0.dist-info/entry_points.txt +2 -0
  7. dataops_testgen-2.2.0.dist-info/top_level.txt +1 -0
  8. testgen/__init__.py +0 -0
  9. testgen/__main__.py +770 -0
  10. testgen/commands/__init__.py +0 -0
  11. testgen/commands/queries/__init__.py +0 -0
  12. testgen/commands/queries/execute_cat_tests_query.py +95 -0
  13. testgen/commands/queries/execute_tests_query.py +160 -0
  14. testgen/commands/queries/generate_tests_query.py +94 -0
  15. testgen/commands/queries/profiling_query.py +366 -0
  16. testgen/commands/queries/test_parameter_validation_query.py +88 -0
  17. testgen/commands/run_execute_cat_tests.py +162 -0
  18. testgen/commands/run_execute_tests.py +168 -0
  19. testgen/commands/run_generate_tests.py +107 -0
  20. testgen/commands/run_get_entities.py +122 -0
  21. testgen/commands/run_launch_db_config.py +84 -0
  22. testgen/commands/run_observability_exporter.py +330 -0
  23. testgen/commands/run_profiling_bridge.py +495 -0
  24. testgen/commands/run_quick_start.py +168 -0
  25. testgen/commands/run_setup_profiling_tools.py +96 -0
  26. testgen/commands/run_test_definition.py +146 -0
  27. testgen/commands/run_test_parameter_validation.py +135 -0
  28. testgen/commands/run_upgrade_db_config.py +156 -0
  29. testgen/common/__init__.py +8 -0
  30. testgen/common/clean_sql.py +53 -0
  31. testgen/common/credentials.py +25 -0
  32. testgen/common/database/__init__.py +0 -0
  33. testgen/common/database/database_service.py +629 -0
  34. testgen/common/database/flavor/__init__.py +0 -0
  35. testgen/common/database/flavor/flavor_service.py +75 -0
  36. testgen/common/database/flavor/mssql_flavor_service.py +34 -0
  37. testgen/common/database/flavor/postgresql_flavor_service.py +5 -0
  38. testgen/common/database/flavor/redshift_flavor_service.py +22 -0
  39. testgen/common/database/flavor/snowflake_flavor_service.py +69 -0
  40. testgen/common/database/flavor/trino_flavor_service.py +21 -0
  41. testgen/common/date_service.py +68 -0
  42. testgen/common/display_service.py +85 -0
  43. testgen/common/docker_service.py +76 -0
  44. testgen/common/encrypt.py +55 -0
  45. testgen/common/get_pipeline_parms.py +57 -0
  46. testgen/common/logs.py +79 -0
  47. testgen/common/process_service.py +62 -0
  48. testgen/common/read_file.py +69 -0
  49. testgen/settings.py +440 -0
  50. testgen/template/dbsetup/010_create_base_schema.sql +2 -0
  51. testgen/template/dbsetup/020_create_standard_functions_sprocs.sql +179 -0
  52. testgen/template/dbsetup/030_initialize_new_schema_structure.sql +735 -0
  53. testgen/template/dbsetup/040_populate_new_schema_project.sql +59 -0
  54. testgen/template/dbsetup/050_populate_new_schema_metadata.sql +1517 -0
  55. testgen/template/dbsetup/060_create_standard_views.sql +248 -0
  56. testgen/template/dbsetup/070_create_default_users.sql +17 -0
  57. testgen/template/dbsetup/075_grant_role_rights.sql +43 -0
  58. testgen/template/dbsetup/080_set_current_revision.sql +5 -0
  59. testgen/template/dbupgrade/0100_incremental_upgrade.sql +5 -0
  60. testgen/template/dbupgrade/0101_incremental_upgrade.sql +15 -0
  61. testgen/template/dbupgrade/0102_incremental_upgrade.sql +4 -0
  62. testgen/template/dbupgrade/0103_incremental_upgrade.sql +22 -0
  63. testgen/template/dbupgrade/0104_incremental_upgrade.sql +44 -0
  64. testgen/template/dbupgrade/0105_incremental_upgrade.sql +1 -0
  65. testgen/template/dbupgrade/0106_incremental_upgrade.sql +5 -0
  66. testgen/template/dbupgrade/0107_incremental_upgrade.sql +3 -0
  67. testgen/template/dbupgrade_helpers/get_tg_revision.sql +2 -0
  68. testgen/template/exec_cat_tests/ex_cat_build_agg_table_tests.sql +116 -0
  69. testgen/template/exec_cat_tests/ex_cat_get_distinct_tables.sql +11 -0
  70. testgen/template/exec_cat_tests/ex_cat_results_parse.sql +69 -0
  71. testgen/template/exec_cat_tests/ex_cat_retrieve_agg_test_parms.sql +6 -0
  72. testgen/template/exec_cat_tests/ex_cat_test_query.sql +8 -0
  73. testgen/template/execution/ex_finalize_test_run_results.sql +37 -0
  74. testgen/template/execution/ex_get_tests_non_cat.sql +47 -0
  75. testgen/template/execution/ex_update_test_record_in_testrun_table.sql +27 -0
  76. testgen/template/execution/ex_write_test_record_to_testrun_table.sql +6 -0
  77. testgen/template/flavors/generic/exec_query_tests/ex_aggregate_match_no_drops_generic.sql +48 -0
  78. testgen/template/flavors/generic/exec_query_tests/ex_aggregate_match_num_incr_generic.sql +34 -0
  79. testgen/template/flavors/generic/exec_query_tests/ex_aggregate_match_percent_above_generic.sql +49 -0
  80. testgen/template/flavors/generic/exec_query_tests/ex_aggregate_match_percent_within_generic.sql +49 -0
  81. testgen/template/flavors/generic/exec_query_tests/ex_aggregate_match_same_generic.sql +49 -0
  82. testgen/template/flavors/generic/exec_query_tests/ex_custom_query_generic.sql +39 -0
  83. testgen/template/flavors/generic/exec_query_tests/ex_data_match_2way_generic.sql +58 -0
  84. testgen/template/flavors/generic/exec_query_tests/ex_data_match_generic.sql +44 -0
  85. testgen/template/flavors/generic/exec_query_tests/ex_prior_match_generic.sql +37 -0
  86. testgen/template/flavors/generic/exec_query_tests/ex_relative_entropy_generic.sql +53 -0
  87. testgen/template/flavors/generic/exec_query_tests/ex_window_match_no_drops_generic.sql +46 -0
  88. testgen/template/flavors/generic/exec_query_tests/ex_window_match_same_generic.sql +59 -0
  89. testgen/template/flavors/generic/profiling/contingency_counts.sql +3 -0
  90. testgen/template/flavors/generic/validate_tests/ex_get_project_column_list_generic.sql +3 -0
  91. testgen/template/flavors/mssql/exec_query_tests/ex_relative_entropy_mssql.sql +53 -0
  92. testgen/template/flavors/mssql/profiling/project_ddf_query_mssql.sql +35 -0
  93. testgen/template/flavors/mssql/profiling/project_profiling_query_mssql.yaml +246 -0
  94. testgen/template/flavors/mssql/profiling/project_secondary_profiling_query_mssql.sql +36 -0
  95. testgen/template/flavors/mssql/setup_profiling_tools/00_drop_existing_functions_mssql.sql +8 -0
  96. testgen/template/flavors/mssql/setup_profiling_tools/01_create_functions_mssql.sql +12 -0
  97. testgen/template/flavors/mssql/setup_profiling_tools/02_create_functions_mssql.sql +54 -0
  98. testgen/template/flavors/mssql/setup_profiling_tools/create_qc_schema_mssql.sql +4 -0
  99. testgen/template/flavors/mssql/setup_profiling_tools/grant_execute_privileges_mssql.sql +1 -0
  100. testgen/template/flavors/postgresql/exec_query_tests/ex_window_match_no_drops_postgresql.sql +46 -0
  101. testgen/template/flavors/postgresql/exec_query_tests/ex_window_match_same_postgresql.sql +59 -0
  102. testgen/template/flavors/postgresql/profiling/project_ddf_query_postgresql.sql +42 -0
  103. testgen/template/flavors/postgresql/profiling/project_profiling_query_postgresql.yaml +225 -0
  104. testgen/template/flavors/postgresql/profiling/project_secondary_profiling_query_postgresql.sql +28 -0
  105. testgen/template/flavors/postgresql/setup_profiling_tools/create_functions_postgresql.sql +157 -0
  106. testgen/template/flavors/postgresql/setup_profiling_tools/create_qc_schema_postgresql.sql +1 -0
  107. testgen/template/flavors/postgresql/setup_profiling_tools/grant_execute_privileges_postgresql.sql +2 -0
  108. testgen/template/flavors/redshift/profiling/project_ddf_query_redshift.sql +38 -0
  109. testgen/template/flavors/redshift/profiling/project_profiling_query_redshift.yaml +221 -0
  110. testgen/template/flavors/redshift/profiling/project_secondary_profiling_query_redshift.sql +29 -0
  111. testgen/template/flavors/redshift/setup_profiling_tools/create_functions_redshift.sql +115 -0
  112. testgen/template/flavors/redshift/setup_profiling_tools/create_qc_schema_redshift.sql +1 -0
  113. testgen/template/flavors/redshift/setup_profiling_tools/grant_execute_privileges_redshift.sql +2 -0
  114. testgen/template/flavors/snowflake/profiling/project_ddf_query_snowflake.sql +38 -0
  115. testgen/template/flavors/snowflake/profiling/project_profiling_query_snowflake.yaml +220 -0
  116. testgen/template/flavors/snowflake/profiling/project_secondary_profiling_query_snowflake.sql +29 -0
  117. testgen/template/flavors/snowflake/setup_profiling_tools/create_functions_snowflake.sql +69 -0
  118. testgen/template/flavors/snowflake/setup_profiling_tools/create_qc_schema_snowflake.sql +1 -0
  119. testgen/template/flavors/snowflake/setup_profiling_tools/grant_execute_privileges_snowflake.sql +6 -0
  120. testgen/template/flavors/trino/profiling/project_profiling_query_trino.yaml +219 -0
  121. testgen/template/flavors/trino/setup_profiling_tools/create_functions_trino.sql +92 -0
  122. testgen/template/flavors/trino/setup_profiling_tools/create_qc_schema_trino.sql +1 -0
  123. testgen/template/gen_funny_cat_tests/gen_test_constant.sql +104 -0
  124. testgen/template/gen_funny_cat_tests/gen_test_distinct_value_ct.sql +98 -0
  125. testgen/template/gen_funny_cat_tests/gen_test_row_ct.sql +57 -0
  126. testgen/template/gen_funny_cat_tests/gen_test_row_ct_pct.sql +59 -0
  127. testgen/template/generation/gen_delete_old_tests.sql +5 -0
  128. testgen/template/generation/gen_insert_test_suite.sql +5 -0
  129. testgen/template/generation/gen_retrieve_or_insert_test_suite.sql +58 -0
  130. testgen/template/generation/gen_standard_test_type_list.sql +13 -0
  131. testgen/template/generation/gen_standard_tests.sql +48 -0
  132. testgen/template/get_entities/get_connection.sql +21 -0
  133. testgen/template/get_entities/get_connections_list.sql +9 -0
  134. testgen/template/get_entities/get_latest.sql +4 -0
  135. testgen/template/get_entities/get_profile.sql +12 -0
  136. testgen/template/get_entities/get_profile_info.sql +17 -0
  137. testgen/template/get_entities/get_profile_list.sql +17 -0
  138. testgen/template/get_entities/get_profile_screen.sql +275 -0
  139. testgen/template/get_entities/get_project_list.sql +6 -0
  140. testgen/template/get_entities/get_table_group_list.sql +10 -0
  141. testgen/template/get_entities/get_test_generation_list.sql +18 -0
  142. testgen/template/get_entities/get_test_info.sql +41 -0
  143. testgen/template/get_entities/get_test_results_for_run_cli.sql +16 -0
  144. testgen/template/get_entities/get_test_run_list.sql +24 -0
  145. testgen/template/get_entities/get_test_suite.sql +13 -0
  146. testgen/template/get_entities/get_test_suite_list.sql +18 -0
  147. testgen/template/get_entities/list_test_types.sql +4 -0
  148. testgen/template/observability/get_event_data.sql +23 -0
  149. testgen/template/observability/get_test_results.sql +41 -0
  150. testgen/template/observability/update_test_results_exported_to_observability.sql +12 -0
  151. testgen/template/parms/parms_profiling.sql +34 -0
  152. testgen/template/parms/parms_test_execution.sql +13 -0
  153. testgen/template/parms/parms_test_gen.sql +23 -0
  154. testgen/template/profiling/contingency_columns.sql +7 -0
  155. testgen/template/profiling/datatype_suggestions.sql +56 -0
  156. testgen/template/profiling/functional_datatype.sql +523 -0
  157. testgen/template/profiling/functional_tabletype_stage.sql +48 -0
  158. testgen/template/profiling/functional_tabletype_update.sql +8 -0
  159. testgen/template/profiling/pii_flag.sql +133 -0
  160. testgen/template/profiling/profile_anomalies_screen_column.sql +22 -0
  161. testgen/template/profiling/profile_anomalies_screen_multi_column.sql +58 -0
  162. testgen/template/profiling/profile_anomalies_screen_table.sql +22 -0
  163. testgen/template/profiling/profile_anomalies_screen_table_dates.sql +30 -0
  164. testgen/template/profiling/profile_anomalies_screen_variants.sql +40 -0
  165. testgen/template/profiling/profile_anomaly_types_get.sql +3 -0
  166. testgen/template/profiling/project_get_table_sample_count.sql +22 -0
  167. testgen/template/profiling/project_profile_run_record_insert.sql +8 -0
  168. testgen/template/profiling/project_profile_run_record_update.sql +5 -0
  169. testgen/template/profiling/project_profile_run_record_update_status.sql +5 -0
  170. testgen/template/profiling/project_update_profile_results_to_estimates.sql +32 -0
  171. testgen/template/profiling/refresh_anomalies.sql +33 -0
  172. testgen/template/profiling/refresh_data_chars_from_profiling.sql +156 -0
  173. testgen/template/profiling/secondary_profiling_columns.sql +12 -0
  174. testgen/template/profiling/secondary_profiling_delete.sql +4 -0
  175. testgen/template/profiling/secondary_profiling_update.sql +18 -0
  176. testgen/template/quick_start/populate_target_data.sql +1077 -0
  177. testgen/template/quick_start/recreate_target_data_schema.sql +167 -0
  178. testgen/template/quick_start/update_target_data.sql +100 -0
  179. testgen/template/updates/create_tmp_test_definition.sql +19 -0
  180. testgen/template/updates/get_test_def_parms.sql +38 -0
  181. testgen/template/updates/populate_stg_test_definitions.sql +184 -0
  182. testgen/template/validate_tests/ex_disable_tests_test_definitions.sql +5 -0
  183. testgen/template/validate_tests/ex_flag_tests_test_definitions.sql +64 -0
  184. testgen/template/validate_tests/ex_get_project_column_list_generic.sql +3 -0
  185. testgen/template/validate_tests/ex_get_test_column_list_tg.sql +65 -0
  186. testgen/template/validate_tests/ex_write_test_val_errors.sql +22 -0
  187. testgen/ui/__init__.py +0 -0
  188. testgen/ui/app.py +98 -0
  189. testgen/ui/assets/dk_logo.svg +46 -0
  190. testgen/ui/assets/question_mark.png +0 -0
  191. testgen/ui/assets/scripts.js +68 -0
  192. testgen/ui/assets/style.css +140 -0
  193. testgen/ui/bootstrap.py +109 -0
  194. testgen/ui/components/__init__.py +0 -0
  195. testgen/ui/components/frontend/css/KFOlCnqEu92Fr1MmEU9fBBc4.woff2 +0 -0
  196. testgen/ui/components/frontend/css/KFOlCnqEu92Fr1MmEU9fChc4EsA.woff2 +0 -0
  197. testgen/ui/components/frontend/css/KFOmCnqEu92Fr1Mu4mxK.woff2 +0 -0
  198. testgen/ui/components/frontend/css/KFOmCnqEu92Fr1Mu7GxKOzY.woff2 +0 -0
  199. testgen/ui/components/frontend/css/material-symbols-rounded.css +24 -0
  200. testgen/ui/components/frontend/css/material-symbols-rounded.woff2 +0 -0
  201. testgen/ui/components/frontend/css/roboto-font-faces.css +35 -0
  202. testgen/ui/components/frontend/css/shared.css +36 -0
  203. testgen/ui/components/frontend/img/dk_logo.svg +46 -0
  204. testgen/ui/components/frontend/index.html +17 -0
  205. testgen/ui/components/frontend/js/components/breadcrumbs.js +86 -0
  206. testgen/ui/components/frontend/js/components/button.js +66 -0
  207. testgen/ui/components/frontend/js/components/location.js +62 -0
  208. testgen/ui/components/frontend/js/components/select.js +75 -0
  209. testgen/ui/components/frontend/js/components/sidebar.js +358 -0
  210. testgen/ui/components/frontend/js/main.js +99 -0
  211. testgen/ui/components/frontend/js/streamlit.js +19 -0
  212. testgen/ui/components/frontend/js/van.min.js +1 -0
  213. testgen/ui/components/utils/__init__.py +0 -0
  214. testgen/ui/components/utils/callbacks.py +51 -0
  215. testgen/ui/components/utils/component.py +13 -0
  216. testgen/ui/components/widgets/__init__.py +6 -0
  217. testgen/ui/components/widgets/breadcrumbs.py +32 -0
  218. testgen/ui/components/widgets/location.py +65 -0
  219. testgen/ui/components/widgets/modal.py +97 -0
  220. testgen/ui/components/widgets/sidebar.py +69 -0
  221. testgen/ui/navigation/__init__.py +0 -0
  222. testgen/ui/navigation/menu.py +42 -0
  223. testgen/ui/navigation/page.py +20 -0
  224. testgen/ui/navigation/router.py +63 -0
  225. testgen/ui/queries/__init__.py +0 -0
  226. testgen/ui/queries/authentication_queries.py +47 -0
  227. testgen/ui/queries/connection_queries.py +121 -0
  228. testgen/ui/queries/profiling_queries.py +148 -0
  229. testgen/ui/queries/project_queries.py +9 -0
  230. testgen/ui/queries/table_group_queries.py +186 -0
  231. testgen/ui/queries/test_definition_queries.py +270 -0
  232. testgen/ui/queries/test_run_queries.py +32 -0
  233. testgen/ui/queries/test_suite_queries.py +145 -0
  234. testgen/ui/scripts/__init__.py +0 -0
  235. testgen/ui/scripts/patch_streamlit.py +111 -0
  236. testgen/ui/services/__init__.py +0 -0
  237. testgen/ui/services/authentication_service.py +119 -0
  238. testgen/ui/services/connection_service.py +220 -0
  239. testgen/ui/services/database_service.py +282 -0
  240. testgen/ui/services/form_service.py +1008 -0
  241. testgen/ui/services/javascript_service.py +44 -0
  242. testgen/ui/services/query_service.py +316 -0
  243. testgen/ui/services/string_service.py +12 -0
  244. testgen/ui/services/table_group_service.py +130 -0
  245. testgen/ui/services/test_definition_service.py +117 -0
  246. testgen/ui/services/test_run_service.py +13 -0
  247. testgen/ui/services/test_suite_service.py +76 -0
  248. testgen/ui/services/toolbar_service.py +77 -0
  249. testgen/ui/session.py +46 -0
  250. testgen/ui/views/__init__.py +0 -0
  251. testgen/ui/views/app_log_modal.py +92 -0
  252. testgen/ui/views/connections.py +72 -0
  253. testgen/ui/views/connections_base.py +367 -0
  254. testgen/ui/views/login.py +40 -0
  255. testgen/ui/views/not_found.py +16 -0
  256. testgen/ui/views/overview.py +34 -0
  257. testgen/ui/views/profiling_anomalies.py +501 -0
  258. testgen/ui/views/profiling_details.py +335 -0
  259. testgen/ui/views/profiling_modal.py +40 -0
  260. testgen/ui/views/profiling_results.py +206 -0
  261. testgen/ui/views/profiling_summary.py +177 -0
  262. testgen/ui/views/project_settings.py +74 -0
  263. testgen/ui/views/table_groups.py +530 -0
  264. testgen/ui/views/test_definitions.py +1020 -0
  265. testgen/ui/views/test_results.py +908 -0
  266. testgen/ui/views/test_runs.py +195 -0
  267. testgen/ui/views/test_suites.py +545 -0
  268. testgen/utils/__init__.py +0 -0
  269. testgen/utils/plugins.py +17 -0
  270. testgen/utils/singleton.py +14 -0
testgen/ui/app.py ADDED
@@ -0,0 +1,98 @@
1
+ import logging
2
+ import sys
3
+
4
+ import streamlit as st
5
+
6
+ from testgen import settings
7
+ from testgen.common.docker_service import check_basic_configuration
8
+ from testgen.ui import bootstrap
9
+ from testgen.ui.components import widgets as testgen
10
+ from testgen.ui.queries import project_queries
11
+ from testgen.ui.services import authentication_service, javascript_service
12
+ from testgen.ui.services import database_service as db
13
+ from testgen.ui.session import session
14
+
15
+
16
+ def render(log_level: int = logging.INFO):
17
+ st.set_page_config(
18
+ page_title="TestGen",
19
+ layout="wide",
20
+ )
21
+
22
+ application = get_application(log_level=log_level)
23
+ application.logger.debug("Starting Streamlit re-run")
24
+
25
+ status_ok, message = check_basic_configuration()
26
+ if not status_ok:
27
+ st.markdown(f":red[{message}]")
28
+ return
29
+
30
+ set_locale()
31
+
32
+ session.dbschema = db.get_schema()
33
+
34
+ projects = get_projects()
35
+ if not session.project and len(projects) > 0:
36
+ set_current_project(projects[0]["code"])
37
+
38
+ if session.renders is None:
39
+ session.renders = 0
40
+
41
+ if not session.logging_out and session.authentication_status is None:
42
+ authentication_service.load_user_session()
43
+ testgen.location(on_change=set_current_location)
44
+
45
+ if session.authentication_status and not session.logging_out:
46
+ with st.sidebar:
47
+ testgen.sidebar(
48
+ menu=application.menu.update_version(application.get_version()),
49
+ username=session.username,
50
+ current_page=session.current_page,
51
+ current_project=session.project,
52
+ on_logout=authentication_service.end_user_session,
53
+ )
54
+
55
+ if session.renders is not None:
56
+ session.renders += 1
57
+
58
+ if session.renders > 0 and session.current_page:
59
+ application.router.navigate(to=session.current_page, with_args=session.current_page_args)
60
+
61
+ application.logger.debug(f"location status: {session.current_page} {session.current_page_args}")
62
+
63
+
64
+ @st.cache_resource(validate=lambda _: not settings.IS_DEBUG, show_spinner=False)
65
+ def get_application(log_level: int = logging.INFO):
66
+ return bootstrap.run(log_level=log_level)
67
+
68
+
69
+ def set_locale():
70
+ timezone = javascript_service.get_browser_locale_timezone()
71
+ if timezone is not None and timezone != 0:
72
+ st.session_state["browser_timezone"] = timezone
73
+
74
+
75
+ @st.cache_data(show_spinner=False)
76
+ def get_projects():
77
+ projects = project_queries.get_projects()
78
+ projects = [
79
+ {"code": project["project_code"], "name": project["project_name"]} for project in projects.to_dict("records")
80
+ ]
81
+
82
+ return projects
83
+
84
+
85
+ def set_current_location(change: testgen.LocationChanged) -> None:
86
+ session.current_page = change.page
87
+ session.current_page_args = change.args
88
+
89
+
90
+ def set_current_project(project_code: str) -> None:
91
+ session.project = project_code
92
+
93
+
94
+ if __name__ == "__main__":
95
+ log_level = logging.INFO
96
+ if settings.IS_DEBUG_LOG_LEVEL or "--debug" in sys.argv:
97
+ log_level = logging.DEBUG
98
+ render(log_level=log_level)
@@ -0,0 +1,46 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 602.2 117.7" style="enable-background:new 0 0 602.2 117.7;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#AAD046;}
7
+ .st1{fill:#06A04A;}
8
+ </style>
9
+ <path d="M37.3,107.6c0.6,0,1.1,0,1.6-0.1c-2.2,0-4.5,0.1-6.9,0.1H37.3z"/>
10
+ <path d="M37.3,9.9H32c2.4,0,4.7,0,6.9,0.1C38.3,9.9,37.8,9.9,37.3,9.9z"/>
11
+ <path class="st0" d="M85.6,58.3c0-1.7-0.1-3.3-0.3-4.9c-0.6-7.8-2.5-14.8-5.9-20.8C76,26.5,71.5,21.7,65.9,18
12
+ c-1.2-0.8-2.3-1.6-3.6-2.2c-2.7-1.4-5.5-2.5-8.5-3.4L11.7,58.7l42.2,46.4c2.9-0.9,5.8-2,8.5-3.4c0.9-0.5,1.8-1.1,2.7-1.7
13
+ c6-3.8,10.9-8.8,14.4-15.2c3.6-6.4,5.5-13.9,5.9-22.4c0.1-0.9,0.1-1.8,0.1-2.7c0-0.4,0.1-0.7,0.1-1.1c0-0.1,0-0.1,0-0.2
14
+ C85.5,58.5,85.6,58.4,85.6,58.3z"/>
15
+ <path class="st1" d="M53.8,12.3c-4.6-1.4-9.6-2.2-14.9-2.4c-2.2,0-4.5-0.1-6.9-0.1H16.5c-2.7,0-4.8,2.2-4.8,4.8v29.8v14.3L53.8,12.3
16
+ C53.8,12.3,53.8,12.3,53.8,12.3z"/>
17
+ <path class="st1" d="M11.7,73v29.8c0,2.7,2.2,4.8,4.8,4.8H32c2.4,0,4.7,0,6.9-0.1c5.3-0.1,10.3-1,14.9-2.4c0,0,0,0,0,0L11.7,58.7V73
18
+ z"/>
19
+ <path class="st0" d="M94.5,9.9H69.3c0.3,0.2,0.5,0.4,0.8,0.7c6.4,4.4,11.7,10,15.6,17.1c4,7.2,6.3,15.5,7,24.8
20
+ c0.2,1.9,0.3,3.9,0.3,5.9c0,0.1,0,0.2,0,0.3c0,0.1,0,0.1,0,0.2c0,0.4-0.1,0.8-0.1,1.3c0,1.1-0.1,2.1-0.2,3.2
21
+ c-0.5,10.1-2.8,19-7.1,26.7c-4.1,7.4-9.7,13.2-16.5,17.6c0,0,0,0.1,0,0.1h25.4c2.7,0,4.8-2.2,4.8-4.8v-88
22
+ C99.4,12.1,97.2,9.9,94.5,9.9z"/>
23
+ <path class="st1" d="M132,28h24.1c17.6,0,27.8,13.4,27.8,30.9c0,17.4-10.3,30.6-27.8,30.6H132V28z M156.1,79.7
24
+ c11.2,0,16.9-9.5,16.9-20.9c0-11.5-5.7-21.1-16.9-21.1h-13.2v42H156.1z"/>
25
+ <path class="st1" d="M231.9,47.8v41.7h-10.4v-5.6c-2.9,4.5-8.7,6.5-13.8,6.5c-11,0-20.5-8.5-20.5-21.8c0-13.4,9.5-21.7,20.4-21.7
26
+ c5.3,0,11.1,2.1,13.9,6.4v-5.5H231.9z M221.4,68.5c0-7.3-6.1-12-12-12c-6.4,0-11.7,5-11.7,12c0,7,5.3,12.1,11.7,12.1
27
+ C215.7,80.6,221.4,75.8,221.4,68.5z"/>
28
+ <path class="st1" d="M263,56.1h-8.8v33.4h-10.4V56.1h-7.5v-8.3h7.5V32.5h10.4v15.4h8.8V56.1z"/>
29
+ <path class="st1" d="M309,47.8v41.7h-10.4v-5.6c-2.9,4.5-8.7,6.5-13.8,6.5c-11,0-20.5-8.5-20.5-21.8c0-13.4,9.5-21.7,20.4-21.7
30
+ c5.3,0,11.1,2.1,13.9,6.4v-5.5H309z M298.4,68.5c0-7.3-6.1-12-12-12c-6.4,0-11.7,5-11.7,12c0,7,5.3,12.1,11.7,12.1
31
+ C292.7,80.6,298.4,75.8,298.4,68.5z"/>
32
+ <path class="st1" d="M354.6,89.5l-21.2-23.4v23.4h-10.8V28h10.8v23.3L350.7,28h13.5l-23.5,30.6l28.6,30.9H354.6z"/>
33
+ <path class="st1" d="M373.7,33.1c0-3.7,3.1-6.3,6.8-6.3c3.7,0,6.7,2.7,6.7,6.3c0,3.6-2.9,6.3-6.7,6.3
34
+ C376.9,39.4,373.7,36.6,373.7,33.1z M375.3,47.8h10.4v41.7h-10.4V47.8z"/>
35
+ <path class="st1" d="M417.4,56.1h-8.8v33.4h-10.4V56.1h-7.5v-8.3h7.5V32.5h10.4v15.4h8.8V56.1z"/>
36
+ <path class="st1" d="M417.6,68.6c0-13.2,10.6-21.7,22.7-21.7c7.2,0,13.1,3.1,17,8l-7.4,5.8c-2.1-2.6-5.7-4.2-9.4-4.2
37
+ c-7.2,0-12.4,5-12.4,12c0,7,5.2,12,12.4,12c3.7,0,7.2-1.6,9.4-4.2l7.4,5.8c-3.8,4.8-9.7,8-17,8C428.3,90.3,417.6,81.8,417.6,68.6z"
38
+ />
39
+ <path class="st1" d="M500.7,66.1v23.4h-10.4V67.1c0-6.6-4-10-8.7-10c-4.7,0-10.6,2.6-10.6,10.6v21.8h-10.4v-64h10.4v28.6
40
+ c2.1-5,8.7-7.2,12.9-7.2C494.8,46.9,500.7,54,500.7,66.1z"/>
41
+ <path class="st1" d="M547.5,72.3h-32.2c1.2,5.8,5.6,8.7,11.8,8.7c4.6,0,8.8-1.8,11.3-5.2l6.9,5.3c-3.8,6.1-11.2,9.3-18.7,9.3
42
+ c-12.5,0-22-8.7-22-21.8c0-13.3,10-21.7,21.9-21.7c12,0,21.3,8.3,21.3,21.3C547.8,69.4,547.7,70.7,547.5,72.3z M537.4,65
43
+ c-0.6-5.7-5-9-10.8-9c-5.6,0-10.1,2.7-11.3,9H537.4z"/>
44
+ <path class="st1" d="M591.9,66.1v23.4h-10.4V67.1c0-6.6-4-10-8.7-10c-4.7,0-10.6,2.6-10.6,10.6v21.8h-10.4V47.8h10.4v6.6
45
+ c2.1-5.2,8.7-7.5,12.9-7.5C585.9,46.9,591.9,54,591.9,66.1z"/>
46
+ </svg>
Binary file
@@ -0,0 +1,68 @@
1
+ import van from './static/js/van.min.js';
2
+
3
+ window.van = van;
4
+
5
+ window.addEventListener('load', function() {
6
+ removeElements([ 'header[data-testid="stHeader"]' ]);
7
+ });
8
+
9
+ window.addEventListener('message', async function(event) {
10
+ if (event.data.type === 'TestgenNavigationRequest') {
11
+ if (window.location.hash.replace('#', '') !== event.data.path) {
12
+ window.location.hash = event.data.path;
13
+ }
14
+ }
15
+
16
+ if (event.data.type === 'TestgenCopyToClipboard') {
17
+ await copyToClipboard(event.data.text || '');
18
+ }
19
+
20
+ if (event.data.type === 'TestgenLogout') {
21
+ window.testgen.states = {};
22
+ deleteCookie(event.data.cookie);
23
+ }
24
+ });
25
+
26
+ function removeElements(selectors) {
27
+ for (const selector of selectors) {
28
+ const element = window.top.document.querySelector(selector);
29
+ if (element) {
30
+ element.remove();
31
+ }
32
+ }
33
+ }
34
+
35
+ async function copyToClipboard(text) {
36
+ if (navigator.clipboard && window.isSecureContext) {
37
+ await navigator.clipboard.writeText(text || '');
38
+ } else {
39
+ const textArea = document.createElement('textarea');
40
+ textArea.value = text;
41
+
42
+ textArea.style.opacity = 0;
43
+ textArea.style.pointerEvents = 'none';
44
+ textArea.style.position = 'absolute';
45
+
46
+ document.body.prepend(textArea);
47
+ textArea.select();
48
+
49
+ try {
50
+ document.execCommand('copy')
51
+ } finally {
52
+ textArea.remove();
53
+ }
54
+ }
55
+ }
56
+
57
+ function deleteCookie(name) {
58
+ const d = new Date();
59
+ d.setTime(d.getTime() - (1 * 24 * 60 * 60 * 1000));
60
+
61
+ document.cookie = `${name}=-;expires=${d.toUTCString()};path=/`;
62
+ }
63
+
64
+ window.testgen = {
65
+ states: {},
66
+ components: {},
67
+ loadedStylesheets: {},
68
+ };
@@ -0,0 +1,140 @@
1
+ body {
2
+ --primary-color: #06a04a;
3
+
4
+ --primary-text-color: #000000de;
5
+ --secondary-text-color: #0000008a;
6
+ --disabled-text-color: #00000042;
7
+
8
+ --sidebar-background-color: white;
9
+ --sidebar-item-hover-color: #f5f5f5;
10
+ --sidebar-active-item-color: #f5f5f5;
11
+ --sidebar-active-item-border-color: #b4e3c9;
12
+
13
+ --field-underline-color: #9e9e9e;
14
+
15
+ --dk-text-value-background: aliceblue;
16
+ }
17
+
18
+ img.dk-logo-img {
19
+ margin: 0 0 30px 0;
20
+ width:100%;
21
+ }
22
+
23
+ /* Header bar */
24
+ MainMenu {
25
+ display: none;
26
+ }
27
+
28
+ header {
29
+ display: none !important;
30
+ }
31
+
32
+ footer {
33
+ display: none !important;
34
+ }
35
+ /* ... */
36
+
37
+ /* Sidebar */
38
+ section[data-testid="stSidebar"] {
39
+ z-index: 999;
40
+ }
41
+
42
+ .appview-container > :nth-child(1 of section) {
43
+ top: unset;
44
+ }
45
+
46
+ .appview-container > :nth-child(1 of section) > :nth-child(1 of div[class]) {
47
+ overflow: hidden;
48
+ }
49
+
50
+ .appview-container > :nth-child(1 of section) > :nth-child(1 of div[class]) > div:nth-child(2) {
51
+ height: 100% !important;
52
+ padding: unset !important;
53
+ }
54
+
55
+ .appview-container > :nth-child(1 of section) > :nth-child(1 of div[class]) > div:nth-child(2) > div {
56
+ height: 100% !important;
57
+ }
58
+
59
+ .appview-container > :nth-child(1 of section) > :nth-child(1 of div[class]) > div:nth-child(2) > div > div:nth-child(1) {
60
+ height: 100% !important;
61
+ }
62
+
63
+ .appview-container > :nth-child(1 of section) > :nth-child(1 of div[class]) > div:nth-child(2) > div > div:nth-child(1) > div > div:nth-child(1) {
64
+ height: 100% !important;
65
+ }
66
+
67
+ /* .appview-container > :nth-child(1 of section) > :nth-child(1 of div[class]) > div:nth-child(2) > div > div:nth-child(1) > div > div:nth-child(1) > div > div {
68
+ height: 100% !important;
69
+ } */
70
+
71
+ .appview-container > :nth-child(1 of section) > :nth-child(1 of div[class]) > div:nth-child(2) > div > div:nth-child(1) > div > div:not(:nth-child(1)) {
72
+ /* Hide the instances of CookieManager from the sidebar when loging out */
73
+ display: none;
74
+ }
75
+ /* */
76
+
77
+ /* Main content */
78
+ .appview-container > :nth-child(2 of section) {
79
+ background-color: #f8f9fa;
80
+ }
81
+
82
+ section.main > :nth-child(1 of div).block-container {
83
+ padding: 24px;
84
+ }
85
+ /* */
86
+
87
+ /* Customization of modal widget for scrollability */
88
+ section div[data-modal-container='true'] {
89
+ top: 0 !important;
90
+ left: unset !important;
91
+ }
92
+
93
+ section div[data-modal-container="true"][key^="dk-"] {
94
+ width: auto !important;
95
+ }
96
+
97
+ div[data-modal-container="true"] > div:first-child > div:first-child {
98
+ max-height: 90vh;
99
+ overflow-y: auto !important;
100
+ }
101
+
102
+ button[title="Show password text"] {
103
+ display: none;
104
+ }
105
+
106
+ .element-container:has(iframe[height="0"][title="streamlit_javascript.streamlit_javascript"]),
107
+ .element-container:has(iframe[height="0"][title="testgen.ui.components.utils.component.testgen"]) {
108
+ display: none !important;
109
+ }
110
+ /* ... */
111
+
112
+ /* Dark mode */
113
+ @media (prefers-color-scheme: dark) {
114
+ body {
115
+ --primary-text-color: rgba(255, 255, 255);;
116
+ --secondary-text-color: rgba(255, 255, 255, .7);
117
+ --disabled-text-color: rgba(255, 255, 255, .5);;
118
+
119
+ --sidebar-background-color: rgba(14, 17, 23, .7);
120
+ --sidebar-item-hover-color: rgba(14, 17, 23, .5);
121
+ --sidebar-active-item-color: rgba(14, 17, 23, .5);
122
+ --sidebar-active-item-border-color: #b4e3c9;
123
+ --dk-text-value-background: unset;
124
+ }
125
+
126
+ /* Main content */
127
+ .appview-container > :nth-child(2 of section) {
128
+ background-color: rgb(14, 17, 23);
129
+ }
130
+ /* */
131
+
132
+ div[data-modal-container='true']::before {
133
+ background-color: rgba(100, 100, 100, 0.5) !important;
134
+ }
135
+
136
+ div[data-modal-container='true'] > div:first-child > div:first-child {
137
+ background-color: rgb(14, 17, 23) !important;
138
+ }
139
+ }
140
+ /* ... */
@@ -0,0 +1,109 @@
1
+ import dataclasses
2
+ import importlib
3
+ import inspect
4
+ import logging
5
+
6
+ import streamlit
7
+
8
+ from testgen import settings
9
+ from testgen.commands.run_upgrade_db_config import get_schema_revision
10
+ from testgen.common import configure_logging, docker_service
11
+ from testgen.ui.navigation.menu import Menu, Version
12
+ from testgen.ui.navigation.page import Page
13
+ from testgen.ui.navigation.router import Router
14
+ from testgen.ui.session import session
15
+ from testgen.ui.views.connections import ConnectionsPage
16
+ from testgen.ui.views.login import LoginPage
17
+ from testgen.ui.views.not_found import NotFoundPage
18
+ from testgen.ui.views.overview import OverviewPage
19
+ from testgen.ui.views.profiling_anomalies import ProfilingAnomaliesPage
20
+ from testgen.ui.views.profiling_results import ProfilingResultsPage
21
+ from testgen.ui.views.profiling_summary import DataProfilingPage
22
+ from testgen.ui.views.project_settings import ProjectSettingsPage
23
+ from testgen.ui.views.table_groups import TableGroupsPage
24
+ from testgen.ui.views.test_definitions import TestDefinitionsPage, TestDefinitionsPageFromSuite
25
+ from testgen.ui.views.test_results import TestResultsPage
26
+ from testgen.ui.views.test_runs import TestRunsPage
27
+ from testgen.ui.views.test_suites import TestSuitesPage
28
+ from testgen.utils import plugins, singleton
29
+
30
+ BUILTIN_PAGES: list[type[Page]] = [
31
+ LoginPage,
32
+ OverviewPage,
33
+ DataProfilingPage,
34
+ ProfilingResultsPage,
35
+ ProfilingAnomaliesPage,
36
+ TestRunsPage,
37
+ TestResultsPage,
38
+ ConnectionsPage,
39
+ TableGroupsPage,
40
+ TestSuitesPage,
41
+ TestDefinitionsPage,
42
+ TestDefinitionsPageFromSuite,
43
+ ProjectSettingsPage,
44
+ ]
45
+
46
+ LOG = logging.getLogger("testgen")
47
+
48
+
49
+ class Application(singleton.Singleton):
50
+ def __init__(self, router: Router, menu: Menu, logger: logging.Logger) -> None:
51
+ self.router = router
52
+ self.menu = menu
53
+ self.logger = logger
54
+
55
+ def get_version(self) -> Version:
56
+ return Version(
57
+ current=settings.VERSION,
58
+ latest=check_for_upgrade(),
59
+ schema=_get_schema_rev(),
60
+ )
61
+
62
+
63
+ def run(log_level: int = logging.INFO) -> Application:
64
+ pages = [*BUILTIN_PAGES]
65
+ installed_plugins = plugins.discover()
66
+
67
+ configure_logging(level=log_level)
68
+
69
+ for plugin in installed_plugins:
70
+ module = importlib.import_module(plugin.package)
71
+ for property_name in dir(module):
72
+ if (
73
+ (maybe_page := getattr(module, property_name, None))
74
+ and inspect.isclass(maybe_page)
75
+ and issubclass(maybe_page, Page)
76
+ ):
77
+ pages.append(maybe_page)
78
+
79
+ return Application(
80
+ router=Router(routes=pages, default=NotFoundPage),
81
+ menu=Menu(
82
+ items=list(
83
+ {
84
+ page.path: dataclasses.replace(page.menu_item, page=page.path)
85
+ for page in pages if page.menu_item
86
+ }.values()
87
+ ),
88
+ version=Version(
89
+ current=settings.VERSION,
90
+ latest="...",
91
+ schema=_get_schema_rev(),
92
+ ),
93
+ ),
94
+ logger=LOG,
95
+ )
96
+
97
+
98
+ @streamlit.cache_resource(show_spinner=False)
99
+ def _get_schema_rev() -> str:
100
+ revision = session.sb_schema_rev
101
+ if not revision:
102
+ revision = session.sb_schema_rev = get_schema_revision()
103
+ return revision
104
+
105
+
106
+ @streamlit.cache_resource(show_spinner=False)
107
+ def check_for_upgrade():
108
+ return docker_service.check_for_new_docker_release()
109
+
File without changes
@@ -0,0 +1,24 @@
1
+ @font-face {
2
+ font-family: "Material Symbols Rounded";
3
+ font-style: normal;
4
+ font-weight: 100 700;
5
+ font-display: block;
6
+ src: url("./material-symbols-rounded.woff2") format("woff2");
7
+ }
8
+ .material-symbols-rounded {
9
+ font-family: "Material Symbols Rounded";
10
+ font-weight: normal;
11
+ font-style: normal;
12
+ font-size: 24px;
13
+ line-height: 1;
14
+ letter-spacing: normal;
15
+ text-transform: none;
16
+ display: inline-block;
17
+ white-space: nowrap;
18
+ word-wrap: normal;
19
+ direction: ltr;
20
+ -webkit-font-smoothing: antialiased;
21
+ -moz-osx-font-smoothing: grayscale;
22
+ text-rendering: optimizeLegibility;
23
+ font-feature-settings: "liga";
24
+ }
@@ -0,0 +1,35 @@
1
+ @font-face {
2
+ font-family: 'Roboto';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ font-display: swap;
6
+ src: url(./KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
7
+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
8
+ }
9
+
10
+ @font-face {
11
+ font-family: 'Roboto';
12
+ font-style: normal;
13
+ font-weight: 400;
14
+ font-display: swap;
15
+ src: url(./KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
16
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
17
+ }
18
+
19
+ @font-face {
20
+ font-family: 'Roboto';
21
+ font-style: normal;
22
+ font-weight: 500;
23
+ font-display: swap;
24
+ src: url(./KFOlCnqEu92Fr1MmEU9fChc4EsA.woff2) format('woff2');
25
+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
26
+ }
27
+
28
+ @font-face {
29
+ font-family: 'Roboto';
30
+ font-style: normal;
31
+ font-weight: 500;
32
+ font-display: swap;
33
+ src: url(./KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format('woff2');
34
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
35
+ }
@@ -0,0 +1,36 @@
1
+ html,
2
+ body {
3
+ height: 100%;
4
+ margin: unset;
5
+ color: var(--primary-text-color);
6
+ font-size: 14px;
7
+ font-family: 'Roboto', 'Helvetica Neue', sans-serif;
8
+ }
9
+
10
+ body {
11
+ --primary-color: #06a04a;
12
+
13
+ --primary-text-color: #000000de;
14
+ --secondary-text-color: #0000008a;
15
+ --disabled-text-color: #00000042;
16
+
17
+ --sidebar-background-color: white;
18
+ --sidebar-item-hover-color: #f5f5f5;
19
+ --sidebar-active-item-color: #f5f5f5;
20
+ --sidebar-active-item-border-color: #b4e3c9;
21
+
22
+ --field-underline-color: #9e9e9e;
23
+ }
24
+
25
+ @media (prefers-color-scheme: dark) {
26
+ body {
27
+ --primary-text-color: rgba(255, 255, 255);;
28
+ --secondary-text-color: rgba(255, 255, 255, .7);
29
+ --disabled-text-color: rgba(255, 255, 255, .5);;
30
+
31
+ --sidebar-background-color: rgba(14, 17, 23, .7);
32
+ --sidebar-item-hover-color: rgba(14, 17, 23, .5);
33
+ --sidebar-active-item-color: rgba(14, 17, 23, .5);
34
+ --sidebar-active-item-border-color: #b4e3c9;
35
+ }
36
+ }
@@ -0,0 +1,46 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 602.2 117.7" style="enable-background:new 0 0 602.2 117.7;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#AAD046;}
7
+ .st1{fill:#06A04A;}
8
+ </style>
9
+ <path d="M37.3,107.6c0.6,0,1.1,0,1.6-0.1c-2.2,0-4.5,0.1-6.9,0.1H37.3z"/>
10
+ <path d="M37.3,9.9H32c2.4,0,4.7,0,6.9,0.1C38.3,9.9,37.8,9.9,37.3,9.9z"/>
11
+ <path class="st0" d="M85.6,58.3c0-1.7-0.1-3.3-0.3-4.9c-0.6-7.8-2.5-14.8-5.9-20.8C76,26.5,71.5,21.7,65.9,18
12
+ c-1.2-0.8-2.3-1.6-3.6-2.2c-2.7-1.4-5.5-2.5-8.5-3.4L11.7,58.7l42.2,46.4c2.9-0.9,5.8-2,8.5-3.4c0.9-0.5,1.8-1.1,2.7-1.7
13
+ c6-3.8,10.9-8.8,14.4-15.2c3.6-6.4,5.5-13.9,5.9-22.4c0.1-0.9,0.1-1.8,0.1-2.7c0-0.4,0.1-0.7,0.1-1.1c0-0.1,0-0.1,0-0.2
14
+ C85.5,58.5,85.6,58.4,85.6,58.3z"/>
15
+ <path class="st1" d="M53.8,12.3c-4.6-1.4-9.6-2.2-14.9-2.4c-2.2,0-4.5-0.1-6.9-0.1H16.5c-2.7,0-4.8,2.2-4.8,4.8v29.8v14.3L53.8,12.3
16
+ C53.8,12.3,53.8,12.3,53.8,12.3z"/>
17
+ <path class="st1" d="M11.7,73v29.8c0,2.7,2.2,4.8,4.8,4.8H32c2.4,0,4.7,0,6.9-0.1c5.3-0.1,10.3-1,14.9-2.4c0,0,0,0,0,0L11.7,58.7V73
18
+ z"/>
19
+ <path class="st0" d="M94.5,9.9H69.3c0.3,0.2,0.5,0.4,0.8,0.7c6.4,4.4,11.7,10,15.6,17.1c4,7.2,6.3,15.5,7,24.8
20
+ c0.2,1.9,0.3,3.9,0.3,5.9c0,0.1,0,0.2,0,0.3c0,0.1,0,0.1,0,0.2c0,0.4-0.1,0.8-0.1,1.3c0,1.1-0.1,2.1-0.2,3.2
21
+ c-0.5,10.1-2.8,19-7.1,26.7c-4.1,7.4-9.7,13.2-16.5,17.6c0,0,0,0.1,0,0.1h25.4c2.7,0,4.8-2.2,4.8-4.8v-88
22
+ C99.4,12.1,97.2,9.9,94.5,9.9z"/>
23
+ <path class="st1" d="M132,28h24.1c17.6,0,27.8,13.4,27.8,30.9c0,17.4-10.3,30.6-27.8,30.6H132V28z M156.1,79.7
24
+ c11.2,0,16.9-9.5,16.9-20.9c0-11.5-5.7-21.1-16.9-21.1h-13.2v42H156.1z"/>
25
+ <path class="st1" d="M231.9,47.8v41.7h-10.4v-5.6c-2.9,4.5-8.7,6.5-13.8,6.5c-11,0-20.5-8.5-20.5-21.8c0-13.4,9.5-21.7,20.4-21.7
26
+ c5.3,0,11.1,2.1,13.9,6.4v-5.5H231.9z M221.4,68.5c0-7.3-6.1-12-12-12c-6.4,0-11.7,5-11.7,12c0,7,5.3,12.1,11.7,12.1
27
+ C215.7,80.6,221.4,75.8,221.4,68.5z"/>
28
+ <path class="st1" d="M263,56.1h-8.8v33.4h-10.4V56.1h-7.5v-8.3h7.5V32.5h10.4v15.4h8.8V56.1z"/>
29
+ <path class="st1" d="M309,47.8v41.7h-10.4v-5.6c-2.9,4.5-8.7,6.5-13.8,6.5c-11,0-20.5-8.5-20.5-21.8c0-13.4,9.5-21.7,20.4-21.7
30
+ c5.3,0,11.1,2.1,13.9,6.4v-5.5H309z M298.4,68.5c0-7.3-6.1-12-12-12c-6.4,0-11.7,5-11.7,12c0,7,5.3,12.1,11.7,12.1
31
+ C292.7,80.6,298.4,75.8,298.4,68.5z"/>
32
+ <path class="st1" d="M354.6,89.5l-21.2-23.4v23.4h-10.8V28h10.8v23.3L350.7,28h13.5l-23.5,30.6l28.6,30.9H354.6z"/>
33
+ <path class="st1" d="M373.7,33.1c0-3.7,3.1-6.3,6.8-6.3c3.7,0,6.7,2.7,6.7,6.3c0,3.6-2.9,6.3-6.7,6.3
34
+ C376.9,39.4,373.7,36.6,373.7,33.1z M375.3,47.8h10.4v41.7h-10.4V47.8z"/>
35
+ <path class="st1" d="M417.4,56.1h-8.8v33.4h-10.4V56.1h-7.5v-8.3h7.5V32.5h10.4v15.4h8.8V56.1z"/>
36
+ <path class="st1" d="M417.6,68.6c0-13.2,10.6-21.7,22.7-21.7c7.2,0,13.1,3.1,17,8l-7.4,5.8c-2.1-2.6-5.7-4.2-9.4-4.2
37
+ c-7.2,0-12.4,5-12.4,12c0,7,5.2,12,12.4,12c3.7,0,7.2-1.6,9.4-4.2l7.4,5.8c-3.8,4.8-9.7,8-17,8C428.3,90.3,417.6,81.8,417.6,68.6z"
38
+ />
39
+ <path class="st1" d="M500.7,66.1v23.4h-10.4V67.1c0-6.6-4-10-8.7-10c-4.7,0-10.6,2.6-10.6,10.6v21.8h-10.4v-64h10.4v28.6
40
+ c2.1-5,8.7-7.2,12.9-7.2C494.8,46.9,500.7,54,500.7,66.1z"/>
41
+ <path class="st1" d="M547.5,72.3h-32.2c1.2,5.8,5.6,8.7,11.8,8.7c4.6,0,8.8-1.8,11.3-5.2l6.9,5.3c-3.8,6.1-11.2,9.3-18.7,9.3
42
+ c-12.5,0-22-8.7-22-21.8c0-13.3,10-21.7,21.9-21.7c12,0,21.3,8.3,21.3,21.3C547.8,69.4,547.7,70.7,547.5,72.3z M537.4,65
43
+ c-0.6-5.7-5-9-10.8-9c-5.6,0-10.1,2.7-11.3,9H537.4z"/>
44
+ <path class="st1" d="M591.9,66.1v23.4h-10.4V67.1c0-6.6-4-10-8.7-10c-4.7,0-10.6,2.6-10.6,10.6v21.8h-10.4V47.8h10.4v6.6
45
+ c2.1-5.2,8.7-7.5,12.9-7.5C585.9,46.9,591.9,54,591.9,66.1z"/>
46
+ </svg>
@@ -0,0 +1,17 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Testgen Component</title>
5
+ <meta charset="UTF-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="theme-color" content="#000000" />
8
+ <meta name="description" content="Testgen Component" />
9
+
10
+ <link rel="stylesheet" href="css/shared.css" />
11
+ <link rel="stylesheet" href="css/roboto-font-faces.css" />
12
+ <link rel="stylesheet" href="css/material-symbols-rounded.css" />
13
+ <script src="js/main.js" type="module" defer></script>
14
+ </head>
15
+ <body>
16
+ </body>
17
+ </html>