Make --expand print steps as they happen #224

Closed
srcspider opened this Issue Jan 2, 2013 · 6 comments

4 participants

@srcspider

Right now when I use expand what behat does is simply print the entire result when it's done or when it fails. It would be nice to have expand (or some other command, if there's a reason for the current behavior) that simply takes the scenario outline and converts it to normal scenarios before handling it, so the processing is the same and behat prints it nicely line by line as the steps happen.

I have a lot of very big scenarios so the expanded version is pretty useless when it's simply printing everything at the end instead of progressively as it's executing steps. Feedback is especially poor when it just rams 30-40 steps on the screen.

@MPV

+1

@stof
Behat member

@everzet is it done in 3.0 or no ?

@everzet
Behat member

Actually no. But I don't see why we couldn't add it by refactoring that horrible PrettyFormatter a bit :)

@everzet
Behat member

The formatter logic becomes really convoluted with this change, so I'm postponing this feature. At least till 3.1

@everzet everzet modified the milestone: 3.0.0, 3.1.0 Feb 27, 2014
@everzet
Behat member

Moved it back to 3.0 as the latest refactoring I'm finishing for formatters easily allows that now :)

@everzet
Behat member

Landed in develop

@everzet everzet closed this Mar 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment