Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom (re)initialization for Allure lifecycle #497

Open
delatrie opened this issue May 8, 2024 · 1 comment
Open

Allow custom (re)initialization for Allure lifecycle #497

delatrie opened this issue May 8, 2024 · 1 comment
Labels
task:new feature Requesting new capability or software feature theme:core

Comments

@delatrie
Copy link
Contributor

delatrie commented May 8, 2024

Context

Currently, AllureLifecycle is initialized once per process. The static singleton is then used until the process ends.

The following scenarios are not supported due to such limitations:

  • Provide a user-defined initialization to specify the following at runtime:
    • a configuration, including the results directory (although, a workaround exists).
    • a writer (e.g., a message-based writer instead of the file system one).
  • Executing separate test framework runs in-process (see discussion 2536):
    • There is no way to reconfigure the lifecycle once it's created.
    • There is no way to isolate lifecycles for separate parallel in-process runs.
@delatrie delatrie added theme:core task:new feature Requesting new capability or software feature labels May 8, 2024
@flibustier7seas
Copy link

flibustier7seas commented Sep 25, 2024

We would greatly benefit from having the ability to create multiple AllureLifecycle instances as needed and publish test results programmatically from a specific instance (instead of relying on allurectl).

Currently, we have a custom testing framework that continuously runs performance/availability tests in a production environment, and we would like to leverage Allure for visualizing the test results. However, the current functionality does not provide a convenient way to achieve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task:new feature Requesting new capability or software feature theme:core
Projects
None yet
Development

No branches or pull requests

2 participants