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

no colors #108

Open
ghost opened this issue Nov 19, 2012 · 8 comments
Open

no colors #108

ghost opened this issue Nov 19, 2012 · 8 comments

Comments

@ghost
Copy link

ghost commented Nov 19, 2012

I've installed turn,
gem turn, :group => :test,
run rake test:units but the results are not colorized.

@trans
Copy link
Contributor

trans commented Nov 25, 2012

What's your platform? Windows, Linux, Mac OS or ?

@ghost
Copy link
Author

ghost commented Nov 25, 2012

On 25 November 2012 17:33, 7rans [email protected] wrote:

What's your platform? Windows, Linux, Mac OS or ?

I'm using linux.

@trans
Copy link
Contributor

trans commented Nov 26, 2012

Ok. Do you have ansi gem installed?

@ghost
Copy link
Author

ghost commented Nov 26, 2012

On 26 November 2012 12:54, 7rans [email protected] wrote:

Ok. Do you have ansi gem installed?

Yes, turn install ansi gem as dependence.

@trans
Copy link
Contributor

trans commented Nov 26, 2012

Ok. I need to dig in deeper then to figure it out. Is the code repository open source, can I look at?

@ghost
Copy link
Author

ghost commented Nov 26, 2012

On 26 November 2012 15:02, 7rans [email protected] wrote:

Ok. I need to dig in deeper than to figure it out. Is the code repository
open source, can I look at?

If you want I can send you.
Do you mean the entire application code?

@trans
Copy link
Contributor

trans commented Nov 26, 2012

Well, we can do it piecemeal if you want, starting with the Rakefile that you use to start the tests, then any test helper files you use. If I can't figure it out from that then we can go further. You should be able to get my email via my github persona.

@VonD
Copy link

VonD commented Nov 4, 2013

Hello,

Same issue here within a rails engine.

# gemspec
s.add_development_dependency "turn"

# Rakefile is the default generated Rakefile

# test/test_helper.rb

require 'simplecov'
SimpleCov.start

ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"

Rails.backtrace_cleaner.remove_silencers!

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

require 'turn'
Turn.config.format = :outline

I've had the same issue when developing gems. In apps, no problems. I also tried requiring 'turn/colorize'.
Thanks very much for your help.

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