testing
A maintainer skill in the LobeHub repository for writing and fixing Vitest tests across its web app, packages and Electron desktop app.
Was der Skill vermittelt
A maintainer skill in the LobeHub repository for writing and fixing Vitest tests across its web app, packages and Electron desktop app. It prefers spies over module mocks and asks for spies to be restored, tests behaviour rather than wiring, requires a regression test that fails without each bug fix, and says to move complex component logic into hooks instead of adding component tests. For failing tests it explains which to fix and which to delete. It gives the command for running a single file, with the database package run against PGlite or a real Postgres, warns against running the full suite of over 3,000 tests, and requires tests for every new database model or repository.
Funktionen
- Write Vitest tests with spies and boundary mocks
- Decide whether to fix or delete a failing test
- Run one test file against PGlite or Postgres
- Add tests for new database models
Überblick
- Herausgeber
- LobeHub
- Tool
- Testing
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
Was enthalten ist
- references/agent-runtime-e2e.md
- references/db-model-test.md
- references/desktop-controller-test.md
- references/electron-ipc-test.md
- references/zustand-store-action-test.md
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Testing | |
| Herausgeber | LobeHub | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | NOASSERTION | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 202684.974 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Mehr von LobeHub
17 Skills
- acceptance (Skill)
- add-model-provider (Skill)
- agent-testing-bot (Skill)
- alint-ruleset (Skill)
- deep-review (Skill)
- docs-changelog (Skill)
Auch zu finden unter: Testing
Quellen
- Skill-Datei (SKILL.md)github.com/lobehub/lobehub · Belegt: Enthält Skripte16. Nov. 2026
- GitHub-Repositorygithub.com/lobehub/lobehub · Belegt: Herausgeber, Aktivität11. Nov. 2026
- Skill-Datei (SKILL.md)github.com/lobehub/lobehub · Belegt: Lizenz10. Nov. 2026
- Ordner im Repository (testing)github.com/lobehub/lobehub · Belegt: Enthält Skripte10. Nov. 2026