Skill 3.3.6
Use Amazon Q Developer to generate automated tests
Key Concepts
In supported IDEs you can ask Amazon Q Developer to generate unit tests for a file, class or function (for example, with the /test command). It analyses the code, proposes test cases including edge cases and error paths, and creates the test files using the project's testing framework, such as JUnit or pytest.
Generated tests should be reviewed, run and adjusted like any other code before being committed, and then run automatically in the CI/CD pipeline through CodeBuild.