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

CI Reporter interfering with Pry? #154

Open
blaines opened this issue Jun 1, 2015 · 2 comments
Open

CI Reporter interfering with Pry? #154

blaines opened this issue Jun 1, 2015 · 2 comments

Comments

@blaines
Copy link

blaines commented Jun 1, 2015

I've run RSpec with ci_reporter as an output format, unfortunately the output is being silently captured while debugging with pry. Has anyone else noticed this?

Expected:
RSpec starts
Runs tests
Pry debugger prompt stops execution
Do debugging things
Get output
Exit

Actual:
RSpec starts
Runs tests
Pry debugger prompt stops execution
Do debugging things
No debugging output
Have to kill process

Workaround Solution:
Disable CI Reporter while debugging with pry

Reproduce By:
Create an RSpec test suite (sample project should do) and add CI Reporter.
Run RSpec with format --format CI::Reporter::RSpecFormatter
Pry should stop test execution and show a prompt for input
Input/Output should not work (won't show any result)

Environment:

rvm 1.26.9
jruby 1.7.18 (1.9.3p551) 2014-12-22 625381c on Java HotSpot(TM) 64-Bit Server VM 1.8.0_05-b13 +jit [darwin-x86_64]
Groovy:       2.3.6
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.8.0_05 (Oracle Corporation 25.5-b02)
OS:           Mac OS X 10.9.5 x86_64
ci_reporter: 2.0.0
ci_reporter_rspec: 1.0.0
pry: 0.10.1-java

Let me know if there's any other information I should offer. Is there an obvious cause of this issue?

@shepmaster
Copy link
Member

When running tests, CI Reporter does capture stdout and stderr. However, you can disable the capturing.

@pboling
Copy link

pboling commented Mar 23, 2023

This can probably be closed @nicksieger.

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

3 participants