Respect configured output directory for allure open and allure serve by baev · Pull Request #634 · allure-framework/allure3 · GitHub
Skip to content

Respect configured output directory for allure open and allure serve#634

Merged
epszaw merged 1 commit into
mainfrom
respect-config-output
May 11, 2026
Merged

Respect configured output directory for allure open and allure serve#634
epszaw merged 1 commit into
mainfrom
respect-config-output

Conversation

@baev

@baev baev commented May 8, 2026

Copy link
Copy Markdown
Member

This update makes allure open and allure serve use the output directory from your Allure config when no report directory is provided. If your config sets output: "./out/allure-report", running allure open now opens that report by default instead of looking for ./allure-report.

Explicit paths still work the same way. For example, allure open ./some-report opens ./some-report, and allure open ./allure-results still generates and serves a temporary report from those results.

Example:

# allurerc.mjs
export default {
  output: "./out/allure-report"
}

# Opens ./out/allure-report
allure open

# Same behavior through the serve alias
allure serve

@baev baev added the type:improvement New feature or request label May 8, 2026
@baev baev requested a review from epszaw May 8, 2026 16:03
@github-actions

Copy link
Copy Markdown

@epszaw epszaw merged commit 9025f58 into main May 11, 2026
15 of 16 checks passed
@epszaw epszaw deleted the respect-config-output branch May 11, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:cli type:improvement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants