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

rspec output interpolates with --format progress #411

Open
cciollaro opened this issue Jun 24, 2015 · 3 comments
Open

rspec output interpolates with --format progress #411

cciollaro opened this issue Jun 24, 2015 · 3 comments

Comments

@cciollaro
Copy link

Not sure if this is an actual "issue" but it'd be nice if the processes waited until all specs have been run to output their summaries. The README hints at a solution with --format ParallelTests::RSpec::SummaryLogger --out tmp/spec_summary.log but upon trying it my stdout still gets the summaries in between the progress dots.

@grosser
Copy link
Owner

grosser commented Jun 24, 2015

this will produce clean output in the tmp/spec_summary.log ... if you want clean output in stdout use only --format ParallelTests::RSpec::SummaryLogger and no --format progress ... might not work on most recent rspec ... they changed formatters a bunch ... but worth a try

@cciollaro
Copy link
Author

--format ParallelTests::RSpec::SummaryLogger works well but there's no indication of progress being made :(

do you think it's possible to create a formatter that works similar to progress (outputs dots and F's as they happen) and then once all processes have finished gives one cohesive report?

if yes how would you recommend going about that? my initial thought is to use a file in tmp to coordinate between the processes.

@grosser
Copy link
Owner

grosser commented Jun 24, 2015

hmmm you want progress to stdout and summary to stdout ... maybe --out
stdout or something like this works ... otherwise could work with manualy
formatter setup in ruby

On Wed, Jun 24, 2015 at 2:28 PM, Christopher notifications@github.com
wrote:

--format ParallelTests::RSpec::SummaryLogger works well but then there's
no indication of progress being made :(

do you think it's possible to create a formatter that works similar to
progress (outputs dots and F's as they happen) and then once all
processes have finished gives one cohesive report?

if yes how would you recommend going about that? my initial thought is to
use a file in tmp to coordinate between the processes.


Reply to this email directly or view it on GitHub
#411 (comment)
.

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

No branches or pull requests

2 participants