Skip to content

Commit 74704df

Browse files
committed
updating badges
1 parent f0d6c47 commit 74704df

File tree

2 files changed

+37
-13
lines changed

2 files changed

+37
-13
lines changed

README.md

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,56 @@
55

66
Sample demonstrates techniques for using Testspace with Ruby code and the [`rspec` test framework](http://rspec.info/) together with [`simplecov` code coverage gem](https://github.com/colszowka/simplecov) and [`selenium-webdriver` gem](https://rubygems.org/gems/selenium-webdriver/).
77

8-
[![Build Status](https://travis-ci.org/testspace-samples/ruby.rspec.svg?branch=master)](https://travis-ci.org/testspace-samples/ruby.rspec)
9-
[![Space Health](https://samples.testspace.com/projects/85/spaces/312/badge)](https://samples.testspace.com/projects/85/spaces/312 "Test Cases")
10-
[![Space Metric](https://samples.testspace.com/projects/85/spaces/312/metrics/216/badge)](https://samples.testspace.com/projects/85/spaces/312/metrics#metric-216 "Line/Statement Coverage")
8+
***
9+
Using Multiple Online CI Services:
10+
11+
[![Build Status](https://travis-ci.org/munderseth/ruby.rspec.svg?branch=master)](https://travis-ci.org/munderseth/ruby.rspec)
12+
[![CircleCI](https://circleci.com/gh/munderseth/ruby.rspec.svg?style=svg)](https://circleci.com/gh/munderseth/ruby.rspec)
13+
[![Run Status](https://api.shippable.com/projects/57c59c86d69e8d0f0053cfd4/badge?branch=master)](https://app.shippable.com/projects/57c59c86d69e8d0f0053cfd4)
14+
15+
***
16+
Publishing **Test Content** using www.testspace.com.
17+
18+
[![Space Health](http://munderseth.stridespace.com/projects/271/spaces/906/badge)](http://munderseth.stridespace.com/projects/271/spaces/906 "Test Cases")
19+
[![Space Metric](http://munderseth.stridespace.com/projects/271/spaces/906/metrics/334/badge)](http://munderseth.stridespace.com/spaces/906/schema/Code%20Coverage "Code Coverage (lines)")
20+
[![Space Metric](http://munderseth.stridespace.com/projects/271/spaces/906/metrics/335/badge)](http://munderseth.stridespace.com/spaces/906/schema/Static%20Analysis "Static Analysis (issues)")
1121

1222
***
1323

14-
In order to run this sample you will need a host workstation with installed `ruby 2.3.0`, `bundler` and `firefox`.
24+
In order to run this sample you will need a host workstation that supports the [RSpec test framework](http://rspec.info/) with installed `ruby 2.3.0`, `bundler` and `firefox`.
25+
26+
Running Static Analysis:
1527

1628
<pre>
17-
bundle update
18-
COVERAGE=true bundle exec rake ci:setup:rspec spec
29+
bundle exec rubocop --format emacs --out tmp/rubocop.txt
30+
bundle exec brakeman -o tmp/brakeman.json
31+
bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
32+
</pre>
33+
34+
Running Tests with Code Coverage:
35+
36+
<pre>
37+
bundle install
38+
export CI_REPORTS=$PWD/spec/reports
39+
COVERAGE=true xvfb-run --server-args="-screen 0 1024x768x24" bundle exec rake ci:setup:rspec spec
1940
</pre>
2041

21-
Publishing results example:
42+
Publishing Results using **Testspace**:
2243

2344
<pre>
24-
testspace publish [Tests]spec/reports/*.xml{spec} coverage/coverage.xml
45+
curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
46+
testspace @.testspace $TESTSPACE_TOKEN/$BRANCH_NAME
2547
</pre>
2648

27-
Checkout the [Space](https://samples.testspace.com/projects/ruby/spaces/rspec).
2849

29-
***
50+
Checkout the [Space](http://munderseth.stridespace.com/projects/ruby.rspec).
3051

31-
To fork this example using Travis requires:
52+
***
53+
To replicate this sample:
3254
- Account at www.testspace.com.
33-
- Travis Environment Variable:
34-
- `TESTSPACE_URL` = `credentials:@my-org-name.testspace.com/my-project/my-space`
55+
- Environment Variable called `TESTSPACE_TOKEN`:
3556
- `credentials` set to `username:password` or your [access token](http://help.testspace.com/using-your-organization:user-settings).
3657
- `my-org-name.testspace.com/my-project/my-space` based on your subdomain, project, and space names. Refer [here](http://help.testspace.com/reference:runner-reference#login-credentials) for more details.
58+
59+
60+

circle.yml

Whitespace-only changes.

0 commit comments

Comments
 (0)