This feature integrates automated testing and test coverage analysis into Vitality, specifically targeting projects using Jest or Vitest as their testing framework. It will automatically detect the presence of Jest or Vitest configurations, execute the tests, and calculate code coverage, providing developers with valuable insights into their project's testing effectiveness.
🚀 Motivation
Calculate and visualize test coverage to identify areas of the codebase that lack sufficient testing, promoting comprehensive test suites.
Detect and address potential issues and regressions early in the development process through continuous testing.
Integrate testing and coverage analysis seamlessly into the Vitality workflow, enhancing development efficiency.
📝 Proposed Solution
Create new Auditor
Implement a mechanism to detect the presence of Jest or Vitest configuration files (e.g., jest.config.js, vite.config.js) within projects on the platform.
If a supported test configuration is found, automatically trigger the execution of the test suite using the appropriate test runner (Jest or Vitest).
Calculate code coverage metrics during test execution to assess the extent to which the codebase is covered by tests.
✨ Description
This feature integrates automated testing and test coverage analysis into Vitality, specifically targeting projects using Jest or Vitest as their testing framework. It will automatically detect the presence of Jest or Vitest configurations, execute the tests, and calculate code coverage, providing developers with valuable insights into their project's testing effectiveness.
🚀 Motivation
📝 Proposed Solution
🔗 Relevant Links (if any)