-
Notifications
You must be signed in to change notification settings - Fork 36
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
enhancement: add {test_name} variable to use with --name option #26
Comments
so i found a fork of the add this to your Gemfile:
and use this for your run configuration:
would still prefer to have a |
Thanks @tony-kerz, the fork of the m gem works well. |
hey @GerritWanderer glad that works for you. the other option i recently stumbled across is using zeus which can run a test at the cursor as well. check out the section on zeus in this document: http://brendankemp.com/essays/atom-is-ready-to-be-your-editor/ i have trended to this solution as i have never used zeus before and it is also pretty cool in terms of eliminating start up wait times for a ruby process. check it out here: https://github.com/burke/zeus regards, |
I'll try Zeus out. This is an great article by Brendan Kemp, I already discovered some new features :) |
I had made a pr #49 to run test based on regex. |
@roychoo: Did your PR cover tests with spaces? I used to write my tests like this: test "awesome feature" do
...
end I the settings I changed the single test command to |
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 them
gem but there is an issue with that and the current version of minitest).using:
would work, but it would need to parse out the quoted string at the cursor, snake_case it and prefix with
test_
, for example: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.
The text was updated successfully, but these errors were encountered: