Skip to content

Instantly share code, notes, and snippets.

@yock

yock/Rakefile Secret

Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yock/a3af239f19b5f9406e95 to your computer and use it in GitHub Desktop.
Save yock/a3af239f19b5f9406e95 to your computer and use it in GitHub Desktop.
namespace :test do
desc 'Runs unit tests'
task :spec do
# Run some specs in here
end
desc 'Runs integration tests using newman'
task :newman do
Dir.glob('**/*.postman_collection') do |f|
exit($?) unless system('newman', '-c', f)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment