Hello, I am Jay, and today I am going to tell you how I used code generation to automate a part of our initiative, reducing the manual work done. I have developed a CLI tool that generates a test file for components with basic setup already done for the user; this includes declaring any spy objects, importing dependencies, and generating test suites. What follows is a detailed description of my experience building something from scratch and the things I have learned along the way.
Unit Testing With Code Generation
Unit Testing With Code Generation
Hello, I am Jay, and today I am going to tell you how I used code generation to automate a part of our initiative, reducing the manual work done. I have developed a CLI tool that generates a test file for components with basic setup already done for the user; this includes declaring any spy objects, importing dependencies, and generating test suites. What follows is a detailed description of my experience building something from scratch and the things I have learned along the way.