Liking cljdoc? Tell your friends :D

com.blockether.spel.allure-reporter

Allure 3 reporter for Lazytest with embedded Playwright trace viewer.

Writes JSON result files to allure-results/, then automatically generates the full HTML report to allure-report/ using Allure 3 CLI (pinned to 3.2.0 via npx). The report embeds a local Playwright trace viewer so trace attachments load instantly without trace.playwright.dev.

Usage: clojure -M:test --output com.blockether.spel.allure-reporter/allure clojure -M:test --output nested --output com.blockether.spel.allure-reporter/allure

Output directory defaults to allure-results/. Override with: -Dlazytest.allure.output=path/to/dir LAZYTEST_ALLURE_OUTPUT=path/to/dir

Allure 3 reporter for Lazytest with embedded Playwright trace viewer.

Writes JSON result files to allure-results/, then automatically generates
the full HTML report to allure-report/ using Allure 3 CLI (pinned to 3.2.0
via npx). The report embeds a local Playwright trace viewer so trace
attachments load instantly without trace.playwright.dev.

Usage:
  clojure -M:test --output com.blockether.spel.allure-reporter/allure
  clojure -M:test --output nested --output com.blockether.spel.allure-reporter/allure

Output directory defaults to allure-results/. Override with:
  -Dlazytest.allure.output=path/to/dir
  LAZYTEST_ALLURE_OUTPUT=path/to/dir
raw docstring

allurecljmultimethod

(allure config m)

Allure 3 reporter multimethod for Lazytest.

Writes JSON results and auto-generates HTML report with embedded trace viewer.

Usage: --output nested --output com.blockether.spel.allure-reporter/allure

Allure 3 reporter multimethod for Lazytest.

Writes JSON results and auto-generates HTML report with embedded trace viewer.

Usage:
  --output nested --output com.blockether.spel.allure-reporter/allure
sourceraw docstring

count-test-resultsclj

(count-test-results results-dir)

Count test results from allure-results directory. Returns map with :passed, :failed, :broken, :skipped, :total.

Count test results from allure-results directory.
Returns map with :passed, :failed, :broken, :skipped, :total.
sourceraw docstring

generate-badge-file!clj

(generate-badge-file! results-dir output-dir)

Generate badge.svg file in the given directory based on test results. Returns the badge message string.

Generate badge.svg file in the given directory based on test results.
Returns the badge message string.
sourceraw docstring

generate-badge-svgclj

(generate-badge-svg
  {:keys [label message color style]
   :or {label "tests" message "0 passed" color "brightgreen" style :flat}})

Generate a shields.io-style SVG badge. Returns the SVG string.

Options: :label - left side text (default: "tests") :message - right side text (e.g. "42 passed") :color - right side color (default: "brightgreen") :style - badge style: :flat (default), :flat-square, :for-the-badge

Generate a shields.io-style SVG badge.
Returns the SVG string.

Options:
  :label   - left side text (default: "tests")
  :message - right side text (e.g. "42 passed")
  :color   - right side color (default: "brightgreen")
  :style   - badge style: :flat (default), :flat-square, :for-the-badge
sourceraw docstring

generate-html-report!clj

(generate-html-report! results-dir report-dir-path)

Resolve the Allure CLI, run allure awesome (with history when available), optionally embed the local trace viewer, and patch the report JS. Returns true on success.

Resolve the Allure CLI, run `allure awesome` (with history when
available), optionally embed the local trace viewer, and patch the
report JS.  Returns true on success.
sourceraw docstring

merge-results!clj

(merge-results! source-dirs
                {:keys [output-dir clean report report-dir]
                 :or {output-dir "allure-results"
                      clean true
                      report true
                      report-dir "allure-report"}})

Merge N allure-results directories into one output directory.

Copies all result JSON files, attachment files, and supplementary files (environment.properties, categories.json) from each source dir into the output dir. UUID-prefixed files are copied directly (no collision risk). Supplementary files are merged intelligently: environment.properties uses last-wins per key, categories.json is deduplicated by name.

Options: :output-dir - target directory (default: "allure-results") :clean - whether to clean output dir first (default: true) :report - whether to generate HTML report after merge (default: true) :report-dir - HTML report output dir (default: "allure-report")

Returns map with :merged count and :output-dir path.

Merge N allure-results directories into one output directory.

Copies all result JSON files, attachment files, and supplementary
files (environment.properties, categories.json) from each source dir
into the output dir. UUID-prefixed files are copied directly (no
collision risk). Supplementary files are merged intelligently:
environment.properties uses last-wins per key, categories.json is
deduplicated by name.

Options:
  :output-dir  - target directory (default: "allure-results")
  :clean       - whether to clean output dir first (default: true)
  :report      - whether to generate HTML report after merge (default: true)
  :report-dir  - HTML report output dir (default: "allure-report")

Returns map with :merged count and :output-dir path.
sourceraw docstring

output-dirclj

(output-dir)

Determine the output directory. Checks system property, then env var, then falls back to allure-results.

Determine the output directory. Checks system property, then env var,
then falls back to allure-results.
sourceraw docstring

report-dirclj

(report-dir)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close