Testing Overview
This document provides an introduction to the testing strategy used in Gofannon.
Testing Philosophy
Gofannon maintains a comprehensive testing strategy with:
- Unit tests for individual functions, classes, and components
- Integration tests for testing components working together
- E2E tests for complete user workflows
Test Types
| Type | Purpose | Speed | When Run |
|---|---|---|---|
| Unit | Test isolated functions/components | Fast (<100ms) | Every PR |
| Integration | Test components together | Medium (500ms-5s) | Nightly |
| E2E | Test user workflows in browser | Slow (5-30s) | Nightly |