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

Show test (or spec) files in a different color #47

Open
topfunky opened this issue May 5, 2010 · 12 comments
Open

Show test (or spec) files in a different color #47

topfunky opened this issue May 5, 2010 · 12 comments

Comments

@topfunky
Copy link
Owner

topfunky commented May 5, 2010

Test files should have a differently colored icon to make them easily distinguishable from implementation files.

@DEfusion
Copy link

My spec files never show up in the searches, that'd be nice for a start.

@dougalcorn
Copy link

My spec files never show up in the searches either. That seems like a bug. My directories to ignore is the default:

^(\.git|\.hg|\.svn|\.sass-cache|build|tmp|log|vendor\/(rails|gems|plugins))

It sure seems nothing in the spec subdirectory ever shows up in the search.

@xuancongwen
Copy link

Same issue here. Weird. It seems to work properly on some machines and not others.

@topfunky
Copy link
Owner Author

Confusing. I'll see if I can recreate the bug.

@dougalcorn
Copy link

i'm on latest snow leopard using gnu emacs w/a rails3/rspec2 app if that helps

On Monday, April 18, 2011, topfunky
reply@reply.github.com
wrote:

Confusing. I'll see if I can recreate the bug.

Reply to this email directly or view it on GitHub:
#47 (comment)

Doug Alcorn
(513) 295-2844

@DEfusion
Copy link

Also in one project (just opening as a directory rather than a project as that doesn't work) it never finds any javascript files. I've not changed the default ignore options at all for peep open.

@dougalcorn
Copy link

I'm kinda bummed this isn't fixed. Pretty much means I can't use peep-open when it doesn't find half the files I need it to.

@topfunky
Copy link
Owner Author

topfunky commented May 4, 2011

This is a very confusing bug but definitely something that I'd like to track down. I use PeepOpen every day and 90% of my apps use RSpec.

Could you help me by trying something like:

  • Does it find spec files if you have a project consisting of only a Rakefile and a spec directory?
  • How many records are being tracked? (lower left-hand corner of the PeepOpen window)

@dougalcorn
Copy link

  • Yes, it works with an empty project with a Rakefile, a spec dir, a spec/spec_helper.rb, and a spec/models/foo_spec.rb file
  • 1540 records ("Documents to Track is 2,000" in Preferences)

@dougalcorn
Copy link

Weird, I just retried it on my project I spend most of my time on and it found all the files.

@wink
Copy link

wink commented Mar 11, 2013

On my main project, PeepOpen doesn't find any files in my spec directory, yet on a fresh Rails project, it does find specs. Was this bug ever solved?

@desaperados
Copy link

+1 I've got specs being returned in some rails apps and not others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants