tdl-client-ruby
# Install RVM
curl -sSL https://get.rvm.io | bash -s stable
echo 'source /Users/julianghionoiu/.rvm/scripts/rvm' >> .bash_profile
# Install ruby
rvm install ruby-2.2.2
rvm use ruby-2.2.2
# Install bundler
gem install bundler
Installing
Testing
All test require the ActiveMQ broker to be started. The following commands are available for the broker.
python ./broker/activemq-wrapper.py start
python wiremock/wiremock-wrapper.py start 41375
python wiremock/wiremock-wrapper.py start 8222
Run tests with rake features
.
To run a single scenario execute cucumber path/to/file.feature:line_no
Recommendation is to use the cucumber command instead of rake always outside of CI.
Cleanup
Stop external dependencies
python ./broker/activemq-wrapper.py stop
To release
Run
./release.sh