mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 06:14:59 +00:00
- Changed devDependencies from "lua_test" to "testing" in package.json for ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor. - Removed legacy test scripts and parameterized tests, replacing them with a unified test suite structure in the tests section of package.json. - Introduced new metadata.params.json files for each package to define test parameters for package ID validation, icon file existence, and JSON schema validation. - Created new metadata.test.json files for each package to define structured test cases for validating package metadata, including checks for package ID, icon file existence, and schema validity.
47 lines
953 B
JSON
47 lines
953 B
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/package-metadata.schema.json",
|
|
"packageId": "testing",
|
|
"name": "Testing Framework",
|
|
"version": "2.0.0",
|
|
"description": "JSON-based testing framework for MetaBuilder packages with parameterized tests, mocks, and assertions",
|
|
"author": "MetaBuilder",
|
|
"license": "MIT",
|
|
"category": "tools",
|
|
"minLevel": 3,
|
|
"primary": false,
|
|
"icon": "static_content/icon.svg",
|
|
"keywords": [
|
|
"testing",
|
|
"json",
|
|
"unit-test",
|
|
"framework",
|
|
"assertions",
|
|
"mocks",
|
|
"parameterized"
|
|
],
|
|
"dependencies": {},
|
|
"devDependencies": {},
|
|
"exports": {
|
|
"components": [
|
|
"TestRunner",
|
|
"TestResults"
|
|
],
|
|
"scripts": [
|
|
"framework",
|
|
"runner",
|
|
"assertions",
|
|
"mocks"
|
|
]
|
|
},
|
|
"tests": {
|
|
"scripts": [
|
|
"tests/metadata.test.lua"
|
|
],
|
|
"parameterized": [
|
|
{
|
|
"parameters": "tests/metadata.cases.json"
|
|
}
|
|
]
|
|
}
|
|
}
|