Skip to content

lpender/pull-favors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pull Favors is a Chrome extension that re-orders your RSpec and RSpec-compatible pull requests so that they are more readable.

It places feature-specs first.

It places other specs next to the files that they test.

Before

Alphabetical Order:

image

After

Feature specs first. Other specs paired with the files that they test.

image

Caveats

It expects feature specs to be in spec/features.

Other specs should correspond to the files they test in the following way:

app/folder/file.rb => spec/folder/file_spec.rb

Usage

  1. Install Pull Favors from the Chrome Webstore.
  2. Visit a pull request which conforms to the standard, outlined above, i.e. https://github.com/18F/C2/pull/937/files.