1- [ ![ Testspace] ( http://www.testspace.com/public/img/testspace_logo.png )] ( http://www.testspace.com )
1+ [ ![ Testspace] ( http://www.testspace.com/img/Testspace.png )] ( http://www.testspace.com )
2+
23***
34
45## Python/Unittest sample for demonstrating Testspace based on the [ test_driven_python repo] ( https://github.com/siddhi/test_driven_python )
@@ -16,10 +17,9 @@ Using Multiple Online CI Services:
1617***
1718Publishing ** Test Content** using www.testspace.com .
1819
19- [ ![ Space Health] ( https://samples.testspace.com/projects/120/spaces/444/badge )] ( https://samples.testspace.com/projects/120/spaces/444 " Test Cases ")
20- [ ![ Space Metric] ( https://samples.testspace.com/projects/120/spaces/444/metrics/272/badge )] ( https://samples.testspace.com/spaces/444/schema/Code%20Coverage " Code Coverage (lines) ")
21- [ ![ Space Metric] ( https://samples.testspace.com/projects/120/spaces/444/metrics/274/badge )] ( https://samples.testspace.com/spaces/444/schema/Static%20Analysis " Static Analysis (issues) ")
22-
20+ [ ![ Space Health] ( https://samples.testspace.com/projects/161/spaces/757/badge )] ( https://samples.testspace.com/projects/161/spaces/757 " Test Cases ")
21+ [ ![ Space Metric] ( https://samples.testspace.com/projects/161/spaces/757/metrics/683/badge )] ( https://samples.testspace.com/spaces/757/schema/Code%20Coverage " Code Coverage (lines) ")
22+ [ ![ Space Metric] ( https://samples.testspace.com/projects/161/spaces/757/metrics/684/badge )] ( https://samples.testspace.com/spaces/757/schema/Static%20Analysis " Static Analysis (issues) ")
2323
2424***
2525
@@ -49,15 +49,16 @@ Publishing Results using **Testspace**:
4949
5050<pre >
5151curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
52- testspace analysis. txt{issues} nose2.xml{stock_alerter} coverage.xml $TESTSPACE_TOKEN/$BRANCH_NAME
52+ testspace @.testspace. txt $TESTSPACE_TOKEN/$GITHUB_ORG:$REPO_NAME/$ BRANCH_NAME#$BUILD_NUMBER
5353</pre >
5454
55- Checkout the [ Space ] ( https://samples.testspace.com/projects/python.unittest ) .
55+ Checkout the published [ Test Content ] ( https://samples.testspace.com/projects/testspace-samples: python.unittest ) . Note that the ` .testspace.txt ` file contains the [ set of files ] ( http://help.testspace.com/how-to:publish-content#publishing-via-content-list-file ) to publish .
5656
5757***
58+
5859To replicate this sample:
59- - Account at www.testspace.com .
60- - CI Environment Variable called ** TESTSPACE_TOKEN** required:
61- - ` TESTSPACE_TOKEN ` = ` credentials@my-org-name .testspace.com/my-project `
62- - ` credentials ` set to ` username:password ` or your [ access token] ( http://help.testspace.com/reference:client-reference#login-credentials ) .
63- - ` my-org-name .testspace.com/my-project ` based on your * organization * (subdomain) and * project * names.
60+ - Setup account at www.testspace.com .
61+ - Create a Environment variable called ` TESTSPACE_TOKEN `
62+ - ` TESTSPACE_TOKEN ` = ` credentials@Your-Org-Name .testspace.com `
63+ - ` credentials ` set to ` username:password ` or your [ access token] ( http://help.testspace.com/reference:client-reference#login-credentials )
64+ - To [ use ] ( http://help .testspace.com/how-to:add-to-ci ) Testspace in a CI system, store ` TESTSPACE_TOKEN ` as a secure environment variable
0 commit comments