Skip to content

enhancement: add {test_name} variable to use with --name option #26

Open
@tony-kerz

Description

@tony-kerz

trying to use cmd-ctrl-r (run test at cursor) with minitest and it doesn't like the file:line-number syntax (i even tried the m gem but there is an issue with that and the current version of minitest).

using:

ruby -I test {relative_path} --name {test_name}

would work, but it would need to parse out the quoted string at the cursor, snake_case it and prefix with test_, for example:

  test 'should create with valid creds' do

would yield test_should_create_with_valid_creds

i'm an atom package developer noob, but i'd be willing to help out if you are stretched.

regards,
tony.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions