Tags
Tags
are used for efficient categorization and organization of test scripts to enhance management efficiency. With tags, you can:
- Quickly retrieve related scripts
- Group scripts by function/module
- Perform batch operations on similar scripts
Field Definition
Field Name | Type | Required | Quantity | Description |
---|---|---|---|---|
tags | Array[string] | No | ≤20 items | Script classification identifiers |
Configuration Example
yaml
tags:
- SmokeTesting # Smoke test scripts
- sourceType:CASE # Source type identifier
- sourceId:181772600186241028 # Source ID identifier
Best Practices
- Hierarchical Classification: Use the
category:subcategory
format (e.g.,API:Login
). - Control Quantity: Limit to ≤5 tags per script.
- Consistent Naming: Maintain naming consistency across the team.
- Function-Oriented: Prioritize functional domain tags (e.g.,
Payment
,Auth
).
💡 The tag system supports quick filtering and batch operations in script libraries. It is recommended to use it in conjunction with automation tools.