Run tests without leaving Atom


#1

I could be nice to be able to run tests/specs right from Atom.
Maybe display the output on a split pane and/or show some info on the status bar.


#2

:+1: Something like https://github.com/maltize/sublime-text-2-ruby-tests would be awesome!


#3

I’ve started on such a package. So far it runs rspec, but could be configured to run test unit as well. It’s here: https://atom.io/packages/spec-runner


#4

You can also try Atom Runner: https://atom.io/packages/atom-runner

I didn’t yet optimize for RSpec/minitest, but it shouldn’t be hard to add an extension matcher for it.


#5

I have created something like Sublime’s RubyTest. It has the feature to run all specs in a file, only the spec where the cursor’s at and also the last executed spec.

Quick GIF screencast:

Here’s the package:
https://atom.io/packages/spec-runner

And the GitHub repo:

Hope it helps!


#6

I don’t think you meant to link to my package. It looks very nice though, it appears we’ve duplicated efforts, but hey, at least we both learned how to write Atom packages :slight_smile:


#7

Anyone know of a JavaScript test runner?