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

Not showing prettified tests #94

Open
omrico1 opened this issue Jun 13, 2012 · 4 comments
Open

Not showing prettified tests #94

omrico1 opened this issue Jun 13, 2012 · 4 comments

Comments

@omrico1
Copy link

omrico1 commented Jun 13, 2012

Hey,

I am using Rails 3.2, ruby 1.8.7 (we will soon upgrade).

When installing turn 0.9.5, i get the next output:

http://pastebin.com/embed_js.php?i=C8Dhcxhj

when working with turn 0.8.3 it works fine, that is, it shows something like this:

TestMyClass
    test_alt                                                            PASS
    test_alt_eq                                                         PASS
    test_bad                                                            FAIL
        ./test/test_my_class.rb:64:in `test_bad'
        <false> is not true.
    test_foo                                                            PASS
    test_foo_eq                                                         PASS
TestYourClass
    test_method_a                                                       PASS
    test_method_b                                                       PASS
    test_method_c                                                       PASS
============================================================================

any ideas any one?

Thanks

@trans
Copy link
Contributor

trans commented Jun 13, 2012

Need to know more about how your running your tests. I take it you are using the standard Rake test task?

@trans
Copy link
Contributor

trans commented Jun 13, 2012

Also, I assume you are using the require mode for test running instead of the turn command line, and in so doing you are using require 'turn/autorun'? (Important to note b/c using require 'turn' has been deprecated.)

@omrico1
Copy link
Author

omrico1 commented Jun 19, 2012

Hey Trans,

Sorry for the late response, GitHub email notification went to my spam for some reason.

You are correct in all your assumptions.

I am using the regular Rake to run the test, that is, writting "rake" and hit the enter, I also required the turn/autorun in my test helper.

Thanks

@trans
Copy link
Contributor

trans commented Jun 19, 2012

Okay. I will look into it.

If your project is open source and I can checkout a copy, or if you can provide a temporary sample project to convey the issue, that would make it a lot easier for me to figure out. Let me know if so. Otherwise I'll get to it here sometime in the next week or so.

Btw, have you tried tapout? (http://github.com/rubywork/tapout) It's my successor to turn.

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