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

No Capabilities report is generated with Serenity version 3.6.12 #3069

Closed
malekadrar opened this issue Feb 28, 2023 · 5 comments
Closed

No Capabilities report is generated with Serenity version 3.6.12 #3069

malekadrar opened this issue Feb 28, 2023 · 5 comments

Comments

@malekadrar
Copy link

malekadrar commented Feb 28, 2023

After upgrading Serenity from 2.3.31 to 3.6.12, only "Overall Test Results", "Requirements", "Themes" and "Features" are generated, but not "Capabilities", in the final report.

Note: my feature files are always stored in src/test/resources/features directory having always the same structure.

With Serenity 3.6.12
image

With Serenity 2.3.31
image

@malekadrar malekadrar changed the title No Capabilities report is generated in Serenity version 3.6.12 No Capabilities report is generated with Serenity version 3.6.12 Feb 28, 2023
@wakaleo
Copy link
Member

wakaleo commented Mar 2, 2023

This will depend on your requirements setup in serenity.conf and the structure of your requirements directory.

@malekadrar
Copy link
Author

First, I'd like to point out another mismatch with the online documentation. The name of this parmeter is:
serenity.requirement.types and not serenity.requirements.types (there is no s for requirements)

I set serenity.requirement.types=theme,capability,feature and here is the structure of my requirements directory:

image

So I'm expecting to get "Date And Time" as theme and "Relative date time" as capability, but I get both under themes.

@wakaleo
Copy link
Member

wakaleo commented Mar 3, 2023

Can you provide a sample project?

Thanks for spoting the typo in the docs - please feel free to raise a PR to fix it.

@malekadrar
Copy link
Author

malekadrar commented Mar 3, 2023

Here is a sample which reproduce the problem. I expect to have in the report one theme on "Math operators" and two capabilities for "Addition" and "Division".

Sample.zip

Environment:

Visual Studio Code
Windows 11 Professionnel
Java 11.0.10

Note: To run the tests, I execute the command:

mvn clean verify

@wakaleo
Copy link
Member

wakaleo commented Mar 29, 2023

Fixed in 3.6.22

@wakaleo wakaleo closed this as completed Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants