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

Full Allure support #4

Open
20 of 25 tasks
noomorph opened this issue Dec 19, 2022 · 7 comments
Open
20 of 25 tasks

Full Allure support #4

noomorph opened this issue Dec 19, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@noomorph
Copy link
Collaborator

noomorph commented Dec 19, 2022

🧪 Beta release

🎉 Official release

@noomorph noomorph added the enhancement New feature or request label Dec 19, 2022
@noomorph noomorph changed the title Implement code preview Implement metadata mechanism: code preview, thread id, file attachments, etc Dec 19, 2022
@noomorph
Copy link
Collaborator Author

The work is happening in https://github.com/wix-incubator/jest-extend-report repo meanwhile. It will be used then as a dependency to extend jest reports with metadata available only from Circus environment.

@noomorph
Copy link
Collaborator Author

Heads up for the people following the issue – the work is ongoing and already halfway. 👷‍♂️

@noomorph
Copy link
Collaborator Author

Update: there's a beta release of jest-metadata already, so hopefully soon I'll be able to integrate with it.

@Gorodb
Copy link

Gorodb commented May 4, 2023

@noomorph but why are you waiting for jest-metadata? Everything is already implemented in the allure-js-commons module. The request was mostly about getting access to all allure metadata how it was implemented here https://github.com/zaqqaz/jest-allure
Because without it allure reporter looks useless.

@noomorph
Copy link
Collaborator Author

noomorph commented May 4, 2023

@Gorodb I have a certain technical vision around this project, and nothing among existing alternatives can satisfy my needs. I am aware of your fork, yet I view the decision to use those "commons" as a dead end. That approach with the environment augmentation and JSDoc pragma parsing they use is too opinionated and one-sided.

jest-metadata will definitely see the public release within the next two months or sooner (including the metadata support in jest-allure2-reporter). I have big plans on jest-metadata even beyond the context of this particular Allure reporter project.

@noomorph noomorph mentioned this issue May 20, 2023
23 tasks
@noomorph
Copy link
Collaborator Author

noomorph commented May 20, 2023

The work is in progress. 🏃 A few milestones have been reached already (see PR #9). Since I work on this project only one day in a week, it might take 2-3 weeks to finish it, but I have a cautious optimism that the feature will land in mid- or end-June.

The new version will be most likely 2.x, and I'll start dogfooding in a few projects I work with.

@noomorph noomorph changed the title Implement metadata mechanism: code preview, thread id, file attachments, etc Full Allure support Oct 9, 2023
@noomorph
Copy link
Collaborator Author

noomorph commented Oct 9, 2023

The beta release is ready for trying out (under 2.0.0-beta.21).

I've started dogfooding the release here in Detox: wix/Detox#4211, wix/Detox#4228, wix/Detox#4212

Please note that the website might be moderately and sometimes severely out of sync with the current implementation — rely on index.d.ts typings in case if the docs are incorrect. This will be fixed as soon as possible, approx. end of May 2024.

Website: https://wix-incubator.github.io/jest-allure2-reporter/

UPD: 2.0.0-alpha.10 is out, with basic JSDoc annotation support.
UPD 2: 2.0.0-alpha.11 is out, with executor information support for GitHub and Buildkite.
UPD 3: 2.0.0-beta.6 is out. Expect some breakage soon in formatting step names (#29)
UPD 4: 2.0.0-beta.21 is out. The feature set is stabilized, working on documentation...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants