Skip to main content
Version: Next

Frontend Testing

🚧 Coming Soon 🚧

Comprehensive guide for testing Superset's frontend components and features.

Topics to be covered:​

  • Jest configuration and setup
  • React Testing Library best practices
  • Component testing strategies
  • Redux store testing
  • Async operations and API mocking
  • Snapshot testing guidelines
  • Coverage requirements and reporting
  • Debugging test failures
  • Performance testing for UI components

Quick Commands​

# Run all frontend tests
npm run test

# Run tests in watch mode
npm run test -- --watch

# Run tests with coverage
npm run test -- --coverage

# Run specific test file
npm run test -- MyComponent.test.tsx

This documentation is under active development. Check back soon for updates!