-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Description
👓 What did you see?
When running numerous scenarios and using the progress
formatter,
When the step is a mod of 70, the step numbers are printed on the progress line and a line break is introduced.
This seems to be only useful for debugging the formatter itself and should likely be removed.
Additionally, there should be a line break after each scenario is completed.
Current output:
.......=== RUN TestFeatures/MyFeature1
........... 420
.=== RUN TestFeatures/MyFeature2
........................=== RUN TestFeatures/MyFeature3
Offending Line/Area:
godog/internal/formatters/fmt_progress.go
Line 109 in e55eab6
if math.Mod(float64(*f.Steps), float64(f.StepsPerRow)) == 0 { |
✅ What did you expect to see?
Expected output:
=== RUN TestFeatures/MyFeature1
...........
=== RUN TestFeatures/MyFeature2
........................
=== RUN TestFeatures/MyFeature3
In the case of more than 70 steps per Scenario the output should expect to look like:
=== RUN TestFeatures/MyFeature1
............................................................
............................................................
...........................................
=== RUN TestFeatures/MyFeature2
............................................................
.........
📦 Which tool/library version are you using?
Golang Godog Main Branch
🔬 How could we reproduce it?
No response
📚 Any additional context?
I'll tackle this myself if this makes sense to others.
Metadata
Metadata
Assignees
Labels
No labels