Rules Management and Tests Structure | Bondar Academy
Course: AI-based testing with testRigor
Module: Reusability and Optimization
Instructor: Artem Bondar
Lesson Summary
In this lesson, we explore how to manage reusable rules in TestTrigger and the importance of effective test design for successful automation frameworks. Key Differences in Automation Projects The success of an automation project is not solely dependent on the choice of the tool but rather on how it is utilized. A significant number of automation projects (approximately 80% ) fail due to poor maintenance and design, leading to frameworks that become burdensome to support. Importance of Test Design To prevent frameworks from becoming obsolete, it is crucial to implement a correct test design that minimizes maintenance efforts. Key aspects include: Naming Conventions: Establish clear naming conventions for projects, reusable rules, and test cases. Documentation: Create a comprehensive document outlining these conventions, which should be accessible to all team members. Examples of Naming Conventions For test cases integrated with tools like Zephyr , a naming structure might include: RT01_FeatureName_Description For reusable rules, a suggested format is: PageName_Action_ExpectedOutcome Best Practices Each reusable rule should begin and end with an assertion . Use specific verbs for actions (e.g., check , fill , navigate to , create , add ). Organize rules into folders for better navigation and maintenance. By adhering to these guidelines, teams can enhance the maintainability and reusability of their automation frameworks, ultimately leading to more successful outcomes. In conclusion, prioritize naming conventions and documentation before writing automation scripts to ensure a robust framework.