jacobmendoza / rspec-tree-runner

RSpec runner and files analyzer for Atom editor
https://atom.io/packages/rspec-tree-runner
MIT License
9 stars 2 forks source link

Run single tests #7

Closed jmorais closed 9 years ago

jmorais commented 9 years ago

A feature that I would appreciate is the possibility to run a single test. The cursor is used to select a test to run and with a keystroke (ctrl-alt-r, for example) would run only that test.

I can make this feature, if needed.

jacobmendoza commented 9 years ago

Absolutely, this feature is a must that I have been putting off due to lack of time. If you are interested, that'd be great.

Let me know if you start with it and of course, do not hesitate to ask for whatever you need!.

Thanks a lot for your help,

jmorais commented 9 years ago

Ok, will start today!

jmorais commented 9 years ago

@jacobmendoza Hey, almost done. Just one problem (two, I guess):

I already did the methods to run a single test. But there's this problem:

screen shot 2015-06-29 at 7 26 11 pm

I ran just "populates an array of clients" test. And it works, but other tests appear as "passed". I can't find where to fix this. Any suggestion?

The other problem is I don't know how to do proper spec in coffeescript. Is it ok if I just push my solution and you test it?

jacobmendoza commented 9 years ago

Hi @jmorais,

Fantastic!. Yeah, don't worry, push your changes. I'll change to your branch and try to figure out what is going on. Also, I will review the tests and adapt them to support the new feature.

I'll keep you informed! :)

jacobmendoza commented 9 years ago

Thank you very much!

I'd need two days to review the changes. I'll let you know if I have questions :+1:

jacobmendoza commented 9 years ago

Hi @jmorais,

I'm sorry it took so long!. I have solved the issue, added a regression test (among other things). I'm going to review other issues and will publish a new version in a few days. I've included your name in the readme.md.

Thank you so much for your help :).