allure kit#556
Open
todti wants to merge 11 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allure Kit (
allure kit)allure kitis a set of CLI commands for bootstrapping and maintaining an Allure 3 setup in JavaScript/TypeScript projects.It helps you:
allurercconfig files,Detected frameworks include Vitest, Playwright, Jest, Mocha, Cypress, Cucumber.js, Jasmine, CodeceptJS, Newman, and WebdriverIO (WDIO).
Run
Use without global install:
Run a specific command:
kit initis also exposed as a top-levelallure initalias:Quick Start
If an
allurercfile already exists,initexits early and points you atallure kit doctor/allure kit update— it never overwrites an existing config.For a fully non-interactive setup:
For a one-shot install of a specific framework:
Commands
init(alias:allure init)initdoes not generate any demo tests — it only configures Allure (installs adapters and writesallurerc). Sample tests live in a separate repository.Flags:
--lang— project language. Currently onlyjs/tsare accepted (a stub for future language support; any other value fails with a usage error).--framework— force-pick a single framework by id or package name (playwright,vitest,wdio, ...). Implies non-interactive mode with the defaultawesomeplugin.--format—json(default),yaml, ormjsconfig format.--yes— accept defaults without prompts.--cwd— working directory.updatedoctorgh-pages initCreates a GitHub Actions workflow that generates an Allure report and publishes it to GitHub Pages via the
gh-pagesbranch.plugin listplugin addplugin remove