Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Vue Testing Best Practices

Skill Verifiziert Aktiv

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

Zweck

To guide users in effectively testing Vue.js applications by covering essential tools, patterns, and common pitfalls.

Funktionen

  • Vitest setup and recommendations
  • Vue Test Utils component testing patterns
  • Mocking strategies for composables and Pinia
  • Handling async operations and race conditions
  • Playwright for end-to-end testing guidance

Anwendungsfälle

  • Setting up a Vitest testing environment for a Vue 3 project.
  • Implementing black-box testing for Vue components.
  • Resolving intermittent test failures due to race conditions.
  • Choosing and configuring an end-to-end testing framework for Vue apps.

Nicht-Ziele

  • Providing executable test code, but rather guidance on how to write it.
  • Covering testing for Vue 2 or non-Vue JavaScript projects.

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add hyf0/vue-skills
/plugin install vue-skills@vue-skills

Qualitätspunktzahl

Verifiziert
100 /100
Analysiert about 19 hours ago

Vertrauenssignale

Letzter Commitabout 2 months ago
Sterne2.4k
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen

Develop Web Game

100

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.

Skill
davila7

Playwright Best Practices

100

Verwenden Sie dies beim Schreiben von Playwright-Tests, Beheben von flackernden Tests, Debuggen von Fehlern, Implementieren des Page Object Model, Konfigurieren von CI/CD, Optimieren der Leistung, Mocken von APIs, Verwalten von Authentifizierung oder OAuth, Testen der Barrierefreiheit (axe-core), Hoch- und Herunterladen von Dateien, Mocken von Datums-/Uhrzeitangaben, WebSockets, Geolokalisierung, Berechtigungen, Multi-Tab-/Popup-Flows, mobilen/responsiven Layouts, Touch-Gesten, GraphQL, Fehlerbehandlung, Offline-Modus, Multi-User-Kollaboration, Drittanbieterdiensten (Zahlungen, E-Mail-Verifizierung), Überwachung von Konsolenfehlern, globalem Setup/Teardown, Testannotationen (skip, fixme, slow), Test-Tags (@smoke, @fast, @critical, Filterung mit --grep), Projekt­abhängigkeiten, Sicherheitstests (XSS, CSRF, Auth), Leistungsbudgets (Web Vitals, Lighthouse), iFrames, Komponententests, Canvas/WebGL, Service Workers/PWA, Testabdeckung, i18n/Lokalisierung, Electron-Apps oder Tests für Browser­erweiterungen. Deckt E2E-, Komponenten-, API-, visuelle, Barrierefreiheits-, Sicherheits-, Electron- und Erweiterungstests ab.

Skill
currents-dev

Vitest

97

Vitest - Modern TypeScript testing framework with Vite-native performance, ESM support, and TypeScript-first design

Skill
bobmatnyc

Testrail

100

Sync tests with TestRail. Use when user mentions "testrail", "test management", "test cases", "test run", "sync test cases", "push results to testrail", or "import from testrail".

Skill
alirezarezvani

Test A2a Interop

100

Test A2A interoperability between agents by validating Agent Card conformance, exercising all task lifecycle states, and verifying streaming and error handling. Use when verifying a new A2A server implementation before deployment, validating interoperability between two or more A2A agents, running conformance tests in CI/CD for A2A services, debugging failures in multi-agent A2A workflows, or certifying that an agent meets A2A protocol requirements for a registry.

Skill
pjt222

Run Puzzle Tests

100

Run the jigsawR test suite via WSL R execution. Supports full suite, filtered by pattern, or single file. Interprets pass/fail/skip counts and identifies failing tests. Never uses --vanilla flag (renv needs .Rprofile for activation). Use after modifying any R source code, after adding a new puzzle type or feature, before committing changes to verify nothing is broken, or when debugging a specific test failure.

Skill
pjt222