IBM-Swift / swift-buildpack

IBM Cloud buildpack for Swift
BSD 3-Clause "New" or "Revised" License
32 stars 31 forks source link

[WIP] Add rspec and rubocop tests to Travis CI config #84

Closed itzunagi closed 7 years ago

itzunagi commented 7 years ago

This PR adds Rspec unit testing framework and Rubocop (coding-style enforcement) as well as Rcov for code coverage analysis. The Rspec tests will run prior to the existing performance validation tests and will ensure that all of the buildpack's functions are performing as expected, otherwise the Travis build will fail before executing the performance validation tests.

itzunagi commented 7 years ago

Note: rubocop config is currently disabled, need to refactor some code from initial_startup.rb to make it pass.