Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Base version opensourced

Compare
Choose a tag to compare
@adarsh-ramakrishna-sfdc adarsh-ramakrishna-sfdc released this 09 Jan 00:54
· 136 commits to master since this release

Date: October 09, 2015

(Base open source version)

ApexUnit 2.x is a powerful continuous delivery tool for Force.com platform and it comprises of two major components:

  1. A xUnit based testing framework for Force.com platform;
  2. Extensive code coverage metrics with actionable detail for Apex source code. The code coverage results can be a component of the CI/CD pipeline.

Key Features of ApexUnit 2.x:

  • Queue and schedule Apex test runs asynchronously
  • Filter and group tests(xUnit based)
  • Multi-Manifest file and Multi-Regex support for filtering and grouping the tests and sources classes
  • Extensive and comprehensive reporting
  • Summary of code coverage metrics and test execution with pass/fail rate
  • Detailed test report in standard JUnit xml format with drill down feature for failure analysis
  • Info on covered and uncovered code lines including line numbers
  • Code coverage metrics for individual classes; sorted in ascending order of code coverage%
  • Color schemes(red-green) to highlight classes with low code coverage
  • Automatic health checks
  • Customizable code coverage thresholds at team level and org-wide level
  • Halts the tool when code coverage thresholds are not met and/or when there are test failures
  • Seamless integration with Jenkins and CD pipeline
  • Self-abort long running tests using customizable timeout threshold

Additional features:

  • Live test status logging
  • Completed test execution count and remaining tests count
  • Periodic test status logging
  • Test execution time for each test
  • Handling and reporting the duplicate/invalid test class name entries in manifest files/regexes
  • Man page with details on available command line parameter options (-help)

Please refer README and WIKI pages for the features and How to get started guide.