Open Issues Need Help
View All on GitHubAI Summary: The task is to fix a bug in the Test-Weaver Node.js CLI tool where special characters in YAML input are not properly escaped in the generated Jest test files, leading to invalid JavaScript. The solution involves modifying the code that handles string generation from YAML to correctly escape special characters like single quotes, ensuring the output JavaScript is syntactically correct.
Test-Weaver is a Node.js CLI tool that automatically generates Jest test files from simple YAML definitions. Streamline your testing workflow, reduce boilerplate, and ensure consistency. Ideal for JavaScript/TypeScript developers looking to accelerate their TDD or BDD process.
AI Summary: Implement a new command-line option and configuration setting for `test-weaver` to specify an output directory for generated test files. The new option should override the configuration setting. The relative path of the source YAML file should be preserved in the output directory.
Test-Weaver is a Node.js CLI tool that automatically generates Jest test files from simple YAML definitions. Streamline your testing workflow, reduce boilerplate, and ensure consistency. Ideal for JavaScript/TypeScript developers looking to accelerate their TDD or BDD process.
AI Summary: Implement a templating engine (Handlebars and EJS) into the `test-weaver` CLI tool to allow users to customize the generated Jest test files using custom templates. This involves adding CLI options, updating the configuration file schema, modifying core logic to handle template rendering, creating a new module for template rendering, creating default template files, and updating documentation.
Test-Weaver is a Node.js CLI tool that automatically generates Jest test files from simple YAML definitions. Streamline your testing workflow, reduce boilerplate, and ensure consistency. Ideal for JavaScript/TypeScript developers looking to accelerate their TDD or BDD process.