allure-framework / allure-framework/allure2

bug(kotest-extensions-allure) — parameterized tests are not supported

Open
#2,747 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
5.5k
Forks
782
Avg merge
2d 33m
Merged PRs (30d)
16

Description

**Describe the bug**
Allure is not able to record tests that use kotest's parameterisation features - withData and forAll

**To Reproduce**
Steps to reproduce the behaviour:
1. Go to ['maven-repo'](https://github.com/nopunYntendeed/kotest-allure-maven)
2. Follow README (optional) - i've left the results dir intentionally, if it helps
3. Check report
4. See (screenshot)
Screenshot 2024-09-25 at 16 58 11

To reproduce the expected behaviour:

1. Go to ['gradle-repo'](https://github.com/nopunYntendeed/kotest-allure-gradle)
2. Follow README (optional)
3. Check report
4. See (screenshot)
Screenshot 2024-09-25 at 16 57 39

**Expected behavior**
All 9 tests to be present in the report instead of the 3

**Screenshots**
Yes

**Additional context**
Thanks for all of the work.
Please let me know if there is something left unclear or wrong
Godspeed

Contributor guide

Open the contributing guide

Research direction

Start by following the README in the linked maven-repo and gradle-repo examples and compare their Allure reports for the withData and forAll cases. Investigate how the parameterized tests are recorded, then verify that the report contains all 9 tests rather than 3.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.