Skip to content
/ climqa Public

πŸ§ͺ QA-focused React template with Jest/RTL unit tests, Playwright E2E tests, and CI/CD automation. Example implementation using weather dashboard.

Notifications You must be signed in to change notification settings

jalolk/climqa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ClimQA: Modern Frontend Testing Framework Template

🎯 Overview

A comprehensive QA-focused template demonstrating industry best practices for frontend testing architecture. Uses a weather dashboard as a practical example to showcase various testing strategies and CI/CD implementation.

πŸ” Key QA Features

Testing Architecture

  • Unit Testing: Jest + React Testing Library
    • Component isolation testing
    • Mocking strategies implementation

End-to-End Testing

  • Playwright Integration
    • Page Object Model (POM) implementation
    • Cross-browser testing setup
    • Mobile responsive testing
    • Network request mocking

CI/CD Pipeline

  • GitHub Actions Integration
    • Parallel test execution
    • Build verification
    • Test artifact preservation
    • Coverage reporting
    • Automated deployments

QA Best Practices

  • Component isolation
  • Test data management
  • Error boundary testing
  • Accessibility testing
  • API mocking strategies

πŸ›  Technical Stack

  • Framework: React + Vite + TypeScript
  • Testing: Jest, RTL, Playwright
  • CI/CD: GitHub Actions
  • Deployment: Github Pages
  • Styling: TailwindCSS
  • State Management: React Query

πŸ“ˆ Test Coverage Requirements

  • Unit Tests: >80%
  • E2E Coverage: Critical user paths
  • Automatic PR checks
  • Coverage reporting

πŸš€ Getting Started

# Install dependencies
yarn install

# Run unit tests
yarn test

# Run E2E tests
yarn test:e2e

πŸ”„ CI/CD Workflow

  1. PR Created:

    • Lint checks
    • Unit tests with coverage
    • Build verification
    • E2E tests
    • Preview deployment
  2. Main Branch:

    • Full test suite
    • Production build
    • Deployment

🎯 Use Cases

  • Frontend testing framework setup
  • CI/CD pipeline implementation
  • QA automation practices
  • Test strategy development
  • Developer workflow optimization

🀝 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

πŸ“„ License

MIT


Why ClimQA?

This project serves as a reference implementation for QA engineers and developers looking to:

  • Set up a modern frontend testing architecture
  • Implement CI/CD with automated testing
  • Follow testing best practices
  • Establish code quality standards
  • Create maintainable test suites

The weather dashboard serves as a practical example, demonstrating:

  • Component testing strategies
  • API integration testing
  • User interaction testing
  • Error handling testing
  • Performance monitoring
  • Accessibility compliance

Perfect for:

  • QA Engineers
  • Frontend Developers
  • DevOps Engineers
  • Testing Teams
  • CI/CD Implementation

Tags: testing qa automation ci-cd react playwright jest rtl typescript github-actions vercel

About

πŸ§ͺ QA-focused React template with Jest/RTL unit tests, Playwright E2E tests, and CI/CD automation. Example implementation using weather dashboard.

Resources

Stars

Watchers

Forks