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 Given, When and Then in feature description #377

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jirikuncar
Copy link
Member

Raise only warning for following feature:

        Feature: Description

            In order to achieve something
            I want something
            Because it will be cool
            Given it is valid description
            When it starts working
            Then I will be happy


            Some description goes here.

            Scenario: Description
                Given I have a bar

@codecov
Copy link

codecov bot commented Jul 8, 2020

Codecov Report

Merging #377 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #377      +/-   ##
==========================================
+ Coverage   95.51%   95.52%   +0.01%     
==========================================
  Files          48       48              
  Lines        1671     1677       +6     
  Branches      167      168       +1     
==========================================
+ Hits         1596     1602       +6     
  Misses         43       43              
  Partials       32       32              
Impacted Files Coverage Δ
pytest_bdd/__init__.py 100.00% <100.00%> (ø)
pytest_bdd/exceptions.py 100.00% <100.00%> (ø)
pytest_bdd/feature.py 99.23% <100.00%> (+0.01%) ⬆️
tests/feature/test_description.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8008c0f...1e6bba8. Read the comment docs.

@jirikuncar
Copy link
Member Author

This can be resolved by using official parser (see #378).

@jirikuncar
Copy link
Member Author

@olegpidsadnyi can you please have a look at this patch? It would help until the official parser is used. Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants