java.lang.AssertionError

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

Solutions on the web2680

  • Failed to create output dir: D:\my_project\build\reports\coverage
  • via GitHub by ToBeReplaced
    , 1 year ago
    Assert failed: :output-dir cannot be specified without also specifying :output-to (contains? opts :output-to)
  • Assert failed: :output-dir #<File .boot/tmp/35185/_COLON_tailrecursion.boot.task_SLASH_output_dir/dir.tmp> must specify a directory (string? output-dir)
  • Stack trace

    • java.lang.AssertionError: Failed to create output dir: D:\my_project\build\reports\coverage at mockit.coverage.reporting.OutputFile.getOutputFileCreatingDirIfNeeded(OutputFile.java:40) at mockit.coverage.reporting.OutputFile.<init>(OutputFile.java:27) at mockit.coverage.reporting.sourceFiles.FileCoverageReport.<init>(FileCoverageReport.java:40) at mockit.coverage.reporting.CoverageReport.generateFileCoverageReport(CoverageReport.java:104) at mockit.coverage.reporting.CoverageReport.generateFileCoverageReportsWhileBuildingPackageLists(CoverageReport.java:90) at mockit.coverage.reporting.CoverageReport.generate(CoverageReport.java:56) at mockit.coverage.OutputFileGenerator.generateHTMLReportIfRequested(OutputFileGenerator.java:168) at mockit.coverage.OutputFileGenerator.generate(OutputFileGenerator.java:111) at mockit.coverage.CodeCoverage$1.run(CodeCoverage.java:67)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.