Planning Test Coverage | Bondar Academy
Course: Claude Code for Playwright
Module: Playwright Workflows with Claude Code
Instructor: Artem Bondar
Lesson Summary
This video lesson discusses how to utilize Cloud Code as a tool for planning test coverage . It emphasizes the importance of identifying not only the happy path scenarios but also edge cases and negative test cases . Using the PW Coverage Planner Skill The instructor demonstrates the PW Coverage Planner skill, which helps automate the exploration of test cases based on a provided scenario. The following steps outline the process: Input a happy path scenario, such as a user creating an article. The skill utilizes Cloud Code in plan mode to explore the application. Two sub-agents are initialized to expedite the exploration process. Exploration Process The exploration agents analyze the entire codebase, identifying potential test cases for automation. They operate in parallel to avoid polluting the main context and utilize a cheaper model, Haiku , for efficiency. Generating the Test Plan Once the exploration is complete, the skill prompts the user to create a plan and save it as a markdown document. The plan includes: Details of the happy path scenario. Suggestions for edge cases, such as: Publishing an article with no tags. Handling duplicate tags. Server-side error handling for empty submissions. Conclusion Cloud Code serves as a valuable partner in identifying test cases that enhance automation coverage. The lesson concludes by highlighting the capability to automate the identified test cases in future lessons.