-
-
Save yock/a3af239f19b5f9406e95 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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