Skip to content

Commit 864bbb2

Browse files
committed
updates for badges
1 parent b0964fc commit 864bbb2

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

README.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,21 @@ Sample demonstrates techniques for using Testspace with Java code and the [TestN
77

88
***
99

10+
Using Multiple Online CI Services:
11+
1012
[![Build Status](https://travis-ci.org/testspace-samples/java.testng.svg?branch=master)](https://travis-ci.org/testspace-samples/java.testng)
11-
[![Space Health](https://samples.testspace.com/projects/88/spaces/327/badge)](https://samples.testspace.com/projects/88/spaces/327 "Test Cases")
12-
[![Space Metric](https://samples.testspace.com/projects/88/spaces/327/metrics/234/badge)](https://samples.testspace.com/projects/88/spaces/327/metrics#metric-234 "Line/Statement Coverage")
13+
[![Run Status](https://api.shippable.com/projects/570770c52a8192902e1bc922/badge?branch=master)](https://app.shippable.com/projects/570770c52a8192902e1bc922)
14+
15+
16+
***
17+
Publishing **Test Content** using www.testspace.com.
18+
19+
[![Space Health](https://samples.testspace.com/projects/125/spaces/456/badge)](https://samples.testspace.com/projects/125/spaces/456 "Test Cases")
20+
[![Space Metric](https://samples.testspace.com/projects/125/spaces/456/metrics/299/badge)](https://samples.testspace.com/spaces/456/schema/Code%20Coverage "Code Coverage (branches)")
21+
[![Space Metric](https://samples.testspace.com/projects/125/spaces/456/metrics/301/badge)](https://samples.testspace.com/spaces/456/schema/Code%20Coverage "Code Coverage (methods)")
22+
23+
24+
***
1325

1426
***
1527

@@ -23,17 +35,19 @@ Build examples:
2335
Publishing results example:
2436

2537
<pre>
26-
testspace publish target/surefire-reports/TEST-TestSuite.xml target/site/cobertura/coverage.xml
38+
testspace [Tests]target/surefire-reports/TEST-TestSuite.xml target/site/cobertura/coverage.xml $TESTSPACE_TOKEN/$BRANCH_NAME
2739
</pre>
2840

29-
Checkout the [Space](https://samples.testspace.com/projects/java/spaces/testng).
30-
41+
Checkout the [Space](https://samples.testspace.com/projects/java.testng).
3142

3243
***
3344

34-
To fork this example using Travis requires:
45+
To replicate this sample:
3546
- Account at www.testspace.com.
36-
- Travis Environment Variable:
37-
- `TESTSPACE_URL` = `credentials:@my-org-name.testspace.com/my-project/my-space`
47+
- CI Environment Variable called **TESTSPACE_TOKEN** required:
48+
- `TESTSPACE_TOKEN` = `[email protected]/my-project`
3849
- `credentials` set to `username:password` or your [access token](http://help.testspace.com/using-your-organization:user-settings).
39-
- `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.
50+
- `my-org-name.testspace.com/my-project` based on your *subdomain* and *project* names. Refer [here](http://help.testspace.com/reference:runner-reference#login-credentials) for more details.
51+
52+
53+

0 commit comments

Comments
 (0)