java.lang.AssertionError: Failed to create output dir: D:\my_project\build\reports\coverage

GitHub | rkuchynski | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Failed to create output dir for code coverage report

    GitHub | 7 months ago | rkuchynski
    java.lang.AssertionError: Failed to create output dir: D:\my_project\build\reports\coverage

    Root Cause Analysis

    1. java.lang.AssertionError

      Failed to create output dir: D:\my_project\build\reports\coverage

      at mockit.coverage.reporting.OutputFile.getOutputFileCreatingDirIfNeeded()
    2. mockit.coverage.reporting
      CoverageReport.generate
      1. mockit.coverage.reporting.OutputFile.getOutputFileCreatingDirIfNeeded(OutputFile.java:40)
      2. mockit.coverage.reporting.OutputFile.<init>(OutputFile.java:27)
      3. mockit.coverage.reporting.sourceFiles.FileCoverageReport.<init>(FileCoverageReport.java:40)
      4. mockit.coverage.reporting.CoverageReport.generateFileCoverageReport(CoverageReport.java:104)
      5. mockit.coverage.reporting.CoverageReport.generateFileCoverageReportsWhileBuildingPackageLists(CoverageReport.java:90)
      6. mockit.coverage.reporting.CoverageReport.generate(CoverageReport.java:56)
      6 frames
    3. mockit.coverage
      CodeCoverage$1.run
      1. mockit.coverage.OutputFileGenerator.generateHTMLReportIfRequested(OutputFileGenerator.java:168)
      2. mockit.coverage.OutputFileGenerator.generate(OutputFileGenerator.java:111)
      3. mockit.coverage.CodeCoverage$1.run(CodeCoverage.java:67)
      3 frames