swagger-api / swagger-api/swagger-codegen
[Ruby] Rakefile for running multiple test cases
Open
Nobody has claimed this yet.
Client: Ruby
Enhancement: General
help wanted
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the requested Rakefile content and its test/test_*.rb and lib paths; inspect how the Ruby output is generated and where project-level files are defined. Confirm that the generated Ruby project can run all Minitest cases through the default rake task.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- build-system, testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100