This is the sample application for the Ruby on Rails Tutorial: Learn Web Development with Rails by Michael Hartl. It is being used to demonstrate publishing test content to Testspace. We have made a few minor modifications to original project for publishing.
- Using a Testspace Project that is
connected
with this GitHub Repo - Using 3 Online CI services for demonstration purposes only
- Can review the Results at testspace-samples:ruby.minitest
- Refer to our Help for more information
Using Multiple Online CI Services:
Test Content published to www.testspace.com.
Download and configure the Testspace client
mkdir -p $HOME/bin curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | tar -zxvf- -C $HOME/bin testspace config url samples.testspace.com
Running Static Analysis:
bundle install bundle exec rubocop --format emacs --out tmp/rubocop.txt || true bundle exec brakeman -o tmp/brakeman.json bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml bundle exec scss-lint --no-color --format=Stats --format=Default --out=tmp/scss-lint.txt app/assets/stylesheets/ || true
Running Tests with Code Coverage:
export CI_REPORTS=$PWD/test/reports bundle exec rake minitest test
Push Content using Testspace client. Note that ".testspace.txt" contains list of items to push.
testspace @.testspace.txt