Cypress Test Tagging
JSON →cypress-tags is a Cypress plugin that enables the organization and filtering of test runs using custom tags. It allows developers to assign tags (e.g., 'smoke', 'wip', 'regression') to `describe` and `it` blocks within their Cypress tests. The plugin then uses environment variables (`CYPRESS_INCLUDE_TAGS`, `CYPRESS_EXCLUDE_TAGS`) to selectively include or exclude tests during a run, facilitating granular control over test execution strategies. It supports boolean logic (AND/OR) for combining tags and even full boolean expressions, moving beyond simple comma-separated lists for more complex filtering. The current stable version is 1.2.2, with releases typically tied to feature enhancements or compatibility updates. A key differentiator is its preprocessor-based approach that integrates directly into Cypress's build pipeline, requiring TypeScript for parsing. This ensures type safety and a seamless development experience for TypeScript users, providing a more robust tagging solution compared to purely runtime-based alternatives.
Traffic · last 30 days ↓43% vs prev 7d
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France