swagger-api/swagger-codegen

[Ruby] Rakefile for running multiple test cases

Open

#3634 aperta il 24 ago 2016

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)HTML (5474 fork)batch import
Client: RubyEnhancement: Generalhelp wanted

Metriche repository

Star
 (12.701 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor