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

Render docstrings and datatable cells with example table entries #743

Merged
merged 14 commits into from
Nov 30, 2024

Conversation

jsa34
Copy link
Collaborator

@jsa34 jsa34 commented Nov 28, 2024

Render scenario names, docstrings and datatable cells with example table entries, just like step names currently are.

Fixed another issue that I hadn't seen before that background steps were also not able to be rendered using the current logic. This is now fixed.

Resolves #741
Resolves #252

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.01%. Comparing base (1e5595b) to head (3f42ef3).
Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #743      +/-   ##
==========================================
+ Coverage   95.95%   96.01%   +0.06%     
==========================================
  Files          55       55              
  Lines        2200     2211      +11     
  Branches      242      244       +2     
==========================================
+ Hits         2111     2123      +12     
+ Misses         54       53       -1     
  Partials       35       35              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jsa34 jsa34 requested a review from youtux November 28, 2024 12:55
README.rst Outdated Show resolved Hide resolved
@youtux
Copy link
Contributor

youtux commented Nov 30, 2024

hey I took the liberty of applying some changes directly, hope you don't mind. If that's fine to you, I'd merge it.

youtux
youtux previously approved these changes Nov 30, 2024
The regex is no longer just for steps
@jsa34
Copy link
Collaborator Author

jsa34 commented Nov 30, 2024

hey I took the liberty of applying some changes directly, hope you don't mind. If that's fine to you, I'd merge it.

Not at all! I did notice when I code reviewed that the STEP_PARAM_RE regex is no longer just for steps so renamed it.

@jsa34 jsa34 enabled auto-merge November 30, 2024 19:16
@jsa34
Copy link
Collaborator Author

jsa34 commented Nov 30, 2024

I can't merge :(. Sorry my new commit invalidated your approval @youtux

@jsa34 jsa34 disabled auto-merge November 30, 2024 19:48
@youtux
Copy link
Contributor

youtux commented Nov 30, 2024

turns out that the Step.params method is unused, so I removed it.

@youtux youtux enabled auto-merge November 30, 2024 22:09
@youtux youtux merged commit c70f526 into master Nov 30, 2024
18 checks passed
@youtux youtux deleted the render-docstrings-and-datatables-with-example-params branch November 30, 2024 22:12
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

Successfully merging this pull request may close these issues.

Cannot parse datatable with examples Scenario Outline that contains placeholder in its name
3 participants