What problem does it solve?
This Skill provides comprehensive guidance and utilities for testing the Graph Explorer application, ensuring code quality, reliability, and backward compatibility.
Core Features & Use Cases
- Testing Standards: Outlines best practices for writing unit and integration tests using Vitest.
- Test Utilities: Introduces helpers like
DbState, createTestableVertex, and renderHookWithState for efficient test setup and execution.
- Backward Compatibility: Details strategies for testing persisted data to ensure compatibility with older data shapes.
- Use Case: A developer needs to add a new feature to Graph Explorer. This Skill guides them on how to write effective tests for their new code, ensuring it integrates seamlessly and doesn't break existing functionality, especially concerning how user preferences are stored and loaded.
Quick Start
Refer to the testing skill for detailed instructions on setting up and running tests within the Graph Explorer project.