Embold enables users to include coverage data as part of the analysis for Python projects. However, Embold itself does not generate coverage reports. To incorporate coverage information, users must first use a third-party tool to create the coverage report. Once the report is ready, users need to configure Embold to locate and retrieve it. This ensures that the coverage data is displayed alongside other analysis results within the Embold UI.

Pre-requisites:

  • The Embold Server must be running and properly configured.(version 1.9.26.4 or later)
  • The user needs to have a build for their Python project, which includes coverage data as part of the test runs.
  • The user should run the Embold scan on the same host where the Javascript project was built and the coverage data was generated.

Running remote-scan for coverage

  1. Run the embold-scanner:
    • Go to Project and click on three dot (…)
      Note: The repository type must be set to remote.


    • Click on Pipeline Script


    • Copy the shell script

    • Add the EMBOLD_TOKEN variable in script
    • Run the script
    • Customization for shell script
      • If user want to download embold-scanner manually then comment line number 6 and 7 and run the script where the embold-scanner is located.
      • If user want to download repository configuration json manually comment line number 10 and pass the path of repository configuration json file along with option -c and run the script where the embold-scanner is located.
      • In the repository configuration JSON, the coveragepy module is enabled by default, and the value for reportDir is set to baseDir by default. If the user wants to specify a different location for saving the coverage reports, they should provide the parent directory path of the reports for the reportDir value in repository-configuration.json

  2. Navigate the Coverage section on Embold UI to see the coverage data: