Tag: MiniTest
bundle exec rake test
class ArticlesControllerTest < ActionController::TestCase test "should get index" do get :index assert_response :success assert_not_nil assigns(:articles) end end
bundle gem sampleapp -b --test=minitest
bundle exec rake test TEST=test/sample_test.rb
bundle exec rake test TEST=test/sample_test.rb TESTOPTS="--name=test_sample_2"