Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7641533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:56:53+00:00 2026-05-31T08:56:53+00:00

I already use the redgreen gem to highlight some test output for rails 3.

  • 0

I already use the redgreen gem to highlight some test output for rails 3. I enjoy it, but I only found it because I was looking for a more specific solution, which it doesn’t have.

I’d like to see the filenames highlighted specifically. I’d like to illustrate with an example:

  4) Error:
test_shouldn't_be_able_to_make_duplicate_ModeratorPermission(ModeratorPermissionTest):
NoMethodError: undefined method `users' for #<ModeratorPermissionTest:0x7f13ad7ee3d0>
    /test/unit/moderator_permission_test.rb:10:in `test_shouldn't_be_able_to_make_duplicate_ModeratorPermission'

  5) Error:
test_*should*_be_able_to_make_duplicate_Post(PostTest):
NoMethodError: undefined method `users' for #<PostTest:0x7f13ad7f04a0>
    /test/unit/post_test.rb:12:in `test_*should*_be_able_to_make_duplicate_Post'

  6) Error:
test_should_be_able_to_make_a_post(PostTest):
NoMethodError: undefined method `users' for #<PostTest:0x7f13ad7f0478>
    /test/unit/post_test.rb:6:in `test_should_be_able_to_make_a_post'

When I first glance at this in black/white, my eyes don’t immediately go to any one place. I’d like to see “PostTest” and “ModeratorPermission” highlighted. It’d also be nice if the test name itself was highlighted.

Does anyone know if there’s a gem out there that does this already?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:56:55+00:00Added an answer on May 31, 2026 at 8:56 am

    Have you tried term-ansicolor?

    http://flori.github.com/term-ansicolor/

    Or if you are just looking for cleaner output, maybe try turn?

    https://github.com/TwP/turn

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking to implement a grid system. I already use jQuery, jQuery UI
I already know that most implementations use a single thread, but is there anything
My clients wants to use some of the already available features in my app
Is there any tools for GUI Test Automation for Internet Explorer? I already use
I want to deserialize a JSON object (using GSON, because I already use it
I already use iText to generate pdf, but now I need to read pdfs(no
I have some classes that already use DOM4J to read XML files and provide
I'm evaluating cross-platform GUI toolkits for C++ development. I already use Qt but in
I am already use guideline of issue 178 for convert it into portrait but
Edit Thanks for the suggestions; to clarify, we already use SSL, but that doesn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.