Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Test Suite for Git/GitHub Commit Log Productivity Analyzer

This directory contains unit and integration tests for the application.

Structure

  • unit/ - Unit tests for individual modules
  • integration/ - Integration tests for component interactions

Running Tests

To run tests, you can use a testing framework like Jest or Mocha. For now, tests can be run in the browser or with Node.js.

Browser Testing

  1. Open the test HTML files in a browser
  2. Check the console for test results

Node.js Testing

  1. Install a testing framework: npm install --save-dev jest
  2. Run tests: npm test

Test Coverage

The test suite covers:

  • Data processing functionality
  • GitHub API interactions
  • Chart generation
  • File handling
  • Configuration management
  • UI interactions

Test Data

Test data includes:

  • Mock Git repository data
  • Sample commit histories
  • GitHub API response samples