Testing Documentation

Testing strategies and guidelines for the Aitana Labs frontend project.

Available Guides

Testing Overview

This section contains documentation about:

  • Unit testing strategies
  • Integration testing approaches
  • Test coverage requirements
  • Testing best practices
  • Test automation workflows
  • Run tests: npm test
  • Run tests with coverage: npm run test:coverage
  • Run tests once: npm run test:run
  • Run specific test: npm test path/to/test.tsx

Test Structure

Tests are organized alongside the code they test:

  • src/components/__tests__/ - Component tests
  • src/utils/__tests__/ - Utility tests
  • src/lib/__tests__/ - Library tests
  • src/hooks/__tests__/ - Hook tests