What problem does it solve?
This Skill aids in writing, modifying, and debugging tests in Veryfront Code by providing BDD structure, Deno test flags, test utilities, sanitizer rules, and guidance on test file placement.
Core Features & Use Cases
- BDD-style Testing: Offers a structured approach to testing with Behavior-Driven Development (BDD) principles.
- Deno Test Runner: Leverages Deno's test runner for reliable and efficient testing.
- Test Utilities: Provides tools for resource management, filesystem isolation, environment isolation, and async helpers.
- Sanitizer Rules: Instructs best practices for using Deno sanitizers for security.
- Index Export Tests: Ensures public API exports are verified.
- Use Case: A developer uses this Skill to write unit tests for a function within a Veryfront Code project, ensuring it behaves as expected under various conditions.
Quick Start
Run unit tests for your function by executing 'deno test --no-check --allow-all --unstable-worker-options --unstable-net --ignore=tests,src/ai/workflow/tests,src/cli/commands/*.integration.test.ts' in your project directory.