jeffh / CedarShortcuts

Xcode 4 plugin for Cedar focused tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CedarShortcuts is an Xcode 4 plugin that adds handy shortcuts for Cedar (testing framework) to the Xcode menus. For example: Cedar allows you to focus on examples with fit/fdescribe but with this plugin you can select it/describe with your cursor and use a shortcut instead.

  • rake install or build from XCode

  • Shortcuts

    Ctrl + Alt + U
    Runs example under the cursor in the currently active file
    (Product > Run Focused Spec)

    Ctrl + Alt + Cmd + U
    Runs the all examples in the currently active file
    (Product > Run Focused File)

    Shift + Ctrl + Alt + Cmd + U
    Runs the previously focused example(s)
    (Product > Run Last Focused Spec(s))

    Ctrl + Alt + I
    Insert #import declaration for a symbol under the cursor
    (Edit > Insert Import)

    Shift + Ctrl + Cmd + DownArrow
    Alternate between Spec and implementation in current editor
    (Navigate > Alternate Between Spec)

    Shift + Ctrl + Alt + Cmd + DownArrow
    Open alternate (spec or implementation) in adjacent editor
    (Navigate > Open Spec/Impl in Adjacent Editor)

    Ctrl + Alt + E
    Show list of recently opened files
    (View > Standard Editor > Show Recent Files)

You can use OS X keyboard preferences pane to override shortcut for any menu item (System Preferences > Keyboard > Keyboard Shortcuts > Application Shortcuts > '+').

(Plugin can be uninstalled by removing CedarShortcuts.xcplugin from ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins)

About

Xcode 4 plugin for Cedar focused tests


Languages

Language:Objective-C 96.8%Language:Ruby 2.8%Language:Shell 0.4%