Skip to content

Commit d886b1b

Browse files
committed
updates to config
1 parent 8175184 commit d886b1b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.c9build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ sudo apt-get install pylint
88
pylint 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
1414
curl -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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ pylint stock_alerter/ -f parseable > analysis.txt
4141
Running 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

4848
Publishing 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

5454
Checkout the [Space](https://samples.testspace.com/projects/python.unittest).

nose2.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ path = nose2.xml
1616

1717
[coverage]
1818
always-on = False
19-
coverage-report = ["html", "xml"]
19+
coverage-report = html
20+
xml
21+
22+
[load_tests]
23+
always-on = False

0 commit comments

Comments
 (0)