swagger-api/swagger-codegen

[Ruby] Rakefile for running multiple test cases

Open

#3,634 opened on Aug 24, 2016

View on GitHub
 (4 comments) (0 reactions) (0 assignees)HTML (5,474 forks)batch import
Client: RubyEnhancement: Generalhelp wanted

Repository metrics

Stars
 (12,701 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

I would like to run multiple test cases written using minitest; it would be good to have Rakefile generated for the same to that rake task can be incorporated to run all the test cases.

# file: Rakefile
require 'rake/testtask'

Rake::TestTask.new do |task|
  task.libs << %w(test lib)
  task.pattern = 'test/test_*.rb'
end

task :default => :test
Swagger-codegen version

Version 2.1.5

Contributor guide