File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ sudo apt-get install pylint
88pylint stock_alerter/ -f parseable > analysis.txt
99
1010# Test with Code Coverage
11- nose2 --junit-xml --with-coverage --coverage-report xml
11+ nose2 --junit-xml --with-coverage
1212
1313# Publish
1414curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
15- testspace analysis.txt{issues} [Tests] nose2.xml{stock_alerter} coverage.xml master.c9
15+ testspace analysis.txt{issues} nose2.xml{stock_alerter} coverage.xml master.c9
Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ pylint stock_alerter/ -f parseable > analysis.txt
4141Running Tests with Code Coverage:
4242
4343<pre >
44- nose2 --junit-xml --with-coverage --coverage-report xml
44+ nose2 --junit-xml --with-coverage
4545</pre >
4646
4747
4848Publishing Results using ** Testspace** :
4949
5050<pre >
51- testspace analysis.txt{issues} [Tests] nose2.xml{stock_alerter} coverage.xml $TESTSPACE_TOKEN/$BRANCH_NAME
51+ testspace analysis.txt{issues} nose2.xml{stock_alerter} coverage.xml $TESTSPACE_TOKEN/$BRANCH_NAME
5252</pre >
5353
5454Checkout the [ Space] ( https://samples.testspace.com/projects/python.unittest ) .
Original file line number Diff line number Diff line change @@ -16,4 +16,8 @@ path = nose2.xml
1616
1717[coverage]
1818always-on = False
19- coverage-report = [" html" , " xml" ]
19+ coverage-report = html
20+ xml
21+
22+ [load_tests]
23+ always-on = False
You can’t perform that action at this time.
0 commit comments