Permalink
Switch branches/tags
Nothing to show
Commits on Nov 9, 2016
  1. Fix tests from implementation files with features

    mudge committed Nov 9, 2016
    As Vim script seems to be coercing types between function calls between
    integers (where 1 and 0 can be used as booleans) and strings, be
    explicit when checking whether a call to Hunt was successful or not.
    This should fix running tests from an implementation when a features
    directory is present.
  2. Look up features even if there are specs

    mudge committed Nov 9, 2016
    Previously, if a project had specs _and_ features (as is common), it
    wasn't possible to trigger Cucumber from the feature step definitions as
    it would only check the spec directory for matches. To fix this, still
    try the spec and test directories but fall through to the features if no
    match is found.
Commits on Nov 6, 2016
  1. Add support for running Cucumber features

    mudge committed Nov 6, 2016
    As features tend to be higher level than individual unit tests and
    therefore do not map one-to-one between features and a single
    implementation file, map step definitions to features.
    
    This means that features can be run by triggering runspec on them but
    also by triggering it on similarly-named step definitions, e.g.
    login_steps.rb would trigger login.feature.
Commits on Oct 20, 2015
  1. Limit hunt to spec & test directories if present

    mudge committed Oct 20, 2015
    If your project has a lot of files, using findfile() with a path of '**'
    can take quite some time. We can optimise this by restricting the path
    if you're specifically search for a spec or a test file and there is a
    corresponding 'spec' or 'test' directory.
    
    If there is no 'spec' or 'test' directory, fallback to searching '**'
    again but note that this may change behaviour if you store tests in
    different locations and have directories called 'spec' or 'test'.
Commits on Aug 19, 2015
  1. Add license

    mudge committed Aug 19, 2015
  2. Merge pull request #4 from wjlroe/toggle-test-or-target

    mudge committed Aug 19, 2015
    Toggle test or target
  3. Toggle between implementation and test files

    wjlroe committed Aug 18, 2015
    This adds a plugin command so that a user can switch between the test
    and implementation file so that they can easily switch between them just
    as they can run those tests in either file.
Commits on Aug 18, 2015
  1. Extract test filepath detection to a function

    wjlroe committed Aug 18, 2015
    This allows it to be used elsewhere without duplicating the regex
Commits on Aug 14, 2015
  1. Merge pull request #3 from wjlroe/travis-ci-updates

    mudge committed Aug 14, 2015
    Travis CI updates
  2. Merge pull request #2 from wjlroe/hide-macvim-after-spec-run

    mudge committed Aug 14, 2015
    Hide MacVIM after the test suite has finished running
Commits on Oct 5, 2014
  1. Update Ruby version on Travis

    mudge committed Oct 5, 2014
  2. Upgrade to RSpec 3

    mudge committed Oct 5, 2014
Commits on Jan 3, 2013
Commits on Jul 5, 2012
  1. Use script/test if it exists.

    mudge committed Jul 5, 2012
Commits on May 8, 2012
  1. Upgrade to Vimrunner 0.1.0.

    mudge committed May 8, 2012
Commits on Apr 23, 2012
Commits on Apr 22, 2012
  1. Explicitly start a GUI vim.

    mudge committed Apr 22, 2012
  2. Upgrade to vimrunner 0.0.4.

    mudge committed Apr 22, 2012
  3. Update to Vimrunner 0.0.3.

    mudge committed Apr 22, 2012
Commits on Apr 16, 2012
Commits on Apr 13, 2012
Commits on Apr 12, 2012
Commits on Apr 1, 2012
Commits on Mar 30, 2012