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

including this gem removes normal test visual feedback #28

Open
josh-m-sharpe opened this issue Oct 20, 2011 · 8 comments
Open

including this gem removes normal test visual feedback #28

josh-m-sharpe opened this issue Oct 20, 2011 · 8 comments

Comments

@josh-m-sharpe
Copy link

Visual feedback is no longer displayed after adding this gem to my bundle and running a test WITHOUT spork (ruby test/unit/user_test.rb):

.....F..E..etc...

This is useful information. It lets me know the progress of the test and if it's hanging or not.

Despite spork being awesome, I still, occasionally want to run tests without it. I don't think spork should interfere with that process, and I don't think I should have to comment out the gem line and bundle everytime I want to do so.

Thanks! :)

@nixme
Copy link
Member

nixme commented Nov 2, 2011

I'm not seeing the same behavior. Can you paste the acutual output you do see?

@matthuhiggins
Copy link

I believe this only happens on ruby 1.9.3

@josh-m-sharpe
Copy link
Author

@matthuhiggins Negative, happens w/ 1.9.2.

@josh-m-sharpe
Copy link
Author

@nixme here's some output with some test failures.

$ testdrb test/unit/user_test.rb
Loaded suite UserTest
Started
E

Error:
test: deliver password reset instructions should change the perishable token. (UserTest):
RuntimeError:
test/unit/user_test.rb:149:in `block (2 levels) in class:UserTest'

E

Error:
test: deliver password reset instructions should send one email. (UserTest):
RuntimeError:
test/unit/user_test.rb:149:in `block (2 levels) in class:UserTest'

Finished in 6.318403 seconds.

#DRb::DRbUnknown:0x007fbfeb159bb0
0% passed

3.96 tests/s, 5.54 assertions/s

@forrest
Copy link

forrest commented Dec 7, 2011

I'm experiencing the same problem with Ruby 1.9.2. I implemented the fix suggested on issue #2 (#2). That got rid of the DRbUnknown error, but hasn't solved the 0% issue.

When running one of my tests, here is the output:

Finished in 3.681714 seconds.
16 tests, 222 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
0% passed

@aspiers
Copy link

aspiers commented Jan 29, 2012

I see this issue (the lack of visual progress feedback) both with and without Spork.

@forrest Which fix suggested in issue #2? That issue was supposedly resolved in March 2011, way before your comment, although there are still problems unfortunately, which is why I'm interested in what you did - see issue #33 for details.

@forrest
Copy link

forrest commented Jan 29, 2012

Sorry @aspiers. I ended up switching to rspec. Good luck.

@aspiers
Copy link

aspiers commented Jan 30, 2012

So did I :(

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

5 participants