{"id":19197877,"url":"https://github.com/flarebyte/baldrick-zest-engine","last_synced_at":"2026-05-14T23:33:13.291Z","repository":{"id":59218863,"uuid":"530970076","full_name":"flarebyte/baldrick-zest-engine","owner":"flarebyte","description":"Run tests declaratively","archived":false,"fork":false,"pushed_at":"2023-02-27T09:01:25.000Z","size":157,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T13:05:15.863Z","etag":null,"topics":["npm-package","testing","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flarebyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-31T07:01:11.000Z","updated_at":"2023-05-13T06:52:50.000Z","dependencies_parsed_at":"2023-01-18T22:45:47.373Z","dependency_job_id":null,"html_url":"https://github.com/flarebyte/baldrick-zest-engine","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fbaldrick-zest-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fbaldrick-zest-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fbaldrick-zest-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fbaldrick-zest-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flarebyte","download_url":"https://codeload.github.com/flarebyte/baldrick-zest-engine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240271540,"owners_count":19774859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["npm-package","testing","typescript"],"created_at":"2024-11-09T12:19:03.919Z","updated_at":"2026-05-14T23:33:13.286Z","avatar_url":"https://github.com/flarebyte.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# baldrick-zest-engine\n\n![npm](https://img.shields.io/npm/v/baldrick-zest-engine)\n![Build status](https://github.com/flarebyte/baldrick-zest-engine/actions/workflows/main.yml/badge.svg)\n![npm bundle size](https://img.shields.io/bundlephobia/min/baldrick-zest-engine)\n![npm type definitions](https://img.shields.io/npm/types/baldrick-zest-engine)\n![node-current](https://img.shields.io/node/v/baldrick-zest-engine)\n![NPM](https://img.shields.io/npm/l/baldrick-zest-engine)\n\n\u003e Project status: Decommissioned\n\nThis project explored a YAML-based format to author unit tests quickly. While useful in places, our current practice favors classic unit tests supported by generative AI and small helper libraries. As a result, baldrick-zest-engine is decommissioned and not recommended for new work.\n\nHighlights:\n\n- Written in `TypeScript` (ESM).\n\n## Why decommissioned?\n- Maintenance and onboarding costs outweighed benefits of YAML indirection.\n- Modern AI-assisted workflows make writing conventional tests fast and clearer.\n- Existing ecosystem tools (Node test runner, Vitest/Jest) cover the needs better.\n\n## Recommended approach\n- Write classic tests (Node `--test`, Vitest, or Jest) and use generative AI to scaffold cases.\n- Compose data shaping with helpers like:\n  - `object-crumble` for structured object mutation/abstraction\n  - `baldrick-zest-mess` for lightweight table-driven and diff helpers\n\nExample (Node test runner):\n\n```ts\n// test/my-feature.test.ts\nimport { strict as assert } from 'node:assert';\n\nconst addPrefix = (p: string, v: string) =\u003e `${p}${v}`;\n\ntest('adds prefix', () =\u003e {\n  assert.equal(addPrefix('pre-', 'value'), 'pre-value');\n});\n\n// Table-driven\nfor (const [p, v, out] of [\n  ['pre-', 'a', 'pre-a'],\n  ['x-', 'b', 'x-b'],\n]) {\n  test(`adds prefix ${p} to ${v}`, () =\u003e {\n    assert.equal(addPrefix(p, v), out);\n  });\n}\n```\n\n## Status and support\n- No new features planned; security updates only (if any).\n- Consider migrating YAML specs to equivalent TypeScript tests using the example above and helpers as needed.\n\n## Documentation and links\n\n- Legacy docs (for reference only):\n  - [Code Maintenance](MAINTENANCE.md)\n  - [Code Of Conduct](CODE_OF_CONDUCT.md)\n  - [Api for baldrick-zest-engine](API.md)\n  - [Contributing](CONTRIBUTING.md)\n  - [Glossary](GLOSSARY.md)\n  - [Diagram for the code base](INTERNAL.md)\n  - [Vocabulary used in the code base](CODE_VOCABULARY.md)\n  - [Architectural Decision Records](DECISIONS.md)\n  - [Contributors](https://github.com/flarebyte/baldrick-zest-engine/graphs/contributors)\n  - [Dependencies](https://github.com/flarebyte/baldrick-zest-engine/network/dependencies)\n  - [Usage](USAGE.md)\n\n## Related\n\n- Recommended: [baldrick-zest-mess](https://github.com/flarebyte/baldrick-zest-mess)\n- Recommended: [object-crumble](https://github.com/flarebyte/object-crumble)\n\n## Installation (legacy)\n\nThis package is ESM-only. Installation is not recommended for new projects; retained for archival testing only.\n\n```bash\nnpx baldrick-zest-engine --help\n```\n\nTo inspect the repository locally:\n\n```bash\ngit clone https://github.com/flarebyte/baldrick-zest-engine.git\ncd baldrick-zest-engine\nyarn\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflarebyte%2Fbaldrick-zest-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflarebyte%2Fbaldrick-zest-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflarebyte%2Fbaldrick-zest-engine/lists"}