What problem does it solve? Writing consistent backend and frontend tests for the Portal Centralizado de Datos Financieros is error-prone: async connectors, role-based permissions, streaming chat, and non-blocking exports each need specific patterns. This Skill encodes the mandatory testing rules, coverage targets, and ready-to-use test templates so every test follows the same standard. ## Core Features & Use Cases - Async connector tests: pytest-asyncio patterns for silo readers, graceful degradation when a silo fails, and cache TTL hit verification. - RBAC permission matrix: parametrized 401/403 tests across the four roles, plus login, duplicate, and self-demotion edge cases. - Semantic layer, export, and SSE tests: deterministic reference queries on a fixed seed, export non-blocking assertions under 500 ms, and SSE cancellation cleanup checks. - Frontend and smoke tests: Vue Test Utils/vitest patterns for critical components, post-deploy smoke tests, and TTFT/P90 latency measurement with 50+ runs. - Use Case: When adding a new export endpoint, use this Skill to generate the permission matrix tests, the non-blocking concurrency test, and the smoke test entry in one pass. ## Quick Start Ask the assistant to write the pytest permission matrix and SSE cancellation tests for the new endpoint following the portal-testing rules.