0.01
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Faster minitest TDD.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
>= 0

Runtime

>= 2.0
 Project Readme

Starting Blocks

Why?

The purpose of this gem is to run my Minitest specs, with no hassle. No Rakefile updates, no Gemfile/gemspec installs, and no regex Guard files.

Just. Run. The. Tests.

Install the gem. Type "sb" in your command line. All of the tests in your current directory are run.

What tests, though?

Starting Blocks runs all files that have a "test" or "spec" prefix or suffix. Like:

  • spec_apple.rb
  • apple_spec.rb
  • test_orange.rb
  • orange_test.rb

It also looks for matches between "non-test" files and spec files. So if "apple.rb" is updated and "apple_spec.rb" exists, Starting Blocks will run the "apple_spec.rb" tests.

Usage

Run all of your Minitest tests and specs in your current directory and all child directories:

sb

Run the tests in any test or spec file after it is saved. Will also run the specs for any file that has a matching test or spec file:

sb watch

Run any arbitrary command through starting blocks. The results of the statement (notably the success or failure determined by the exit code) will be published through your starting blocks plugins.

sb execute "git push heroku master"

Run multiple commands and plugings at once. This will run watch for your tests and publish the results to the blinky and growl plugins.

sb watch blinky growl

Plugins

Blinky Light

Turn your blinky light red/yellow/green based on the results of your test run:

gem install starting_blocks-blinky
sb blinky

Growl

Pop a growl message based on your test results:

gem install starting_blocks-growl
sb growl

Stopplicht

Change your stopplicht based on your test results:

gem install starting_blocks-stopplicht
sb stopplicht

Elixir

Run your Elixir tests with starting_blocks:

gem install starting_blocks-elixir
sb elixir

RSpec

Run your RSpec tests with starting_blocks:

gem install starting_blocks-rspec
sb rspec

Installation

Install it yourself with:

$ gem install starting_blocks