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

Feature: Scenarios coverage report #53

Open
konkakaka opened this issue Sep 6, 2023 · 2 comments
Open

Feature: Scenarios coverage report #53

konkakaka opened this issue Sep 6, 2023 · 2 comments
Labels

Comments

@konkakaka
Copy link

The problem

We'd like to know which steps/scenarios are not implemented yet(There is only feature file without code execution)
rather than below error,
Missing steps found. Use snippets below: import { Fixture, Given, When, Then } from 'playwright-bdd/decorators'; // 1. Missing step definition for "features/todopage.feature:20:7" @When('I filter todos as {string}')
A solution

We turn it into Scenarios/Features coverage report like http://mkolisnyk.github.io/cucumber-reports/coverage-report

@konkakaka konkakaka added the enhancement New feature or request label Sep 6, 2023
@vitalets
Copy link
Owner

vitalets commented Sep 9, 2023

Good enhancement. Let me clarify some points:

  1. So runner continues to fail, but instead of snippets output you want to get stats about unimplemented features/steps?
  2. Is it enough to show stats as a table in the terminal output? Or some html report is needed like in coverage-report?
  3. Is there similar coverage-report for CucumberJS, not for JUnit? I've checked built-in formatters, but there is only usage report - that is opposite: shows steps not used in any feature. Btw maybe it makes sense to combine both in one report?

Linking with #9

@konkakaka
Copy link
Author

  1. Exactly.
  2. Yes, should be enough.
  3. Yes, it does.
    Thank you for your kind support, appreciate it.

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

No branches or pull requests

2 participants