File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 33 <root >
44 <suite name =" Install.prerequisites" state =" 1" id =" .sh" description =" **Install** system prerequisites " >
55 <attributes >
6- <![CDATA[ npm install -g gulp]]>
6+ <![CDATA[ npm install -g gulp
7+ npm install]]>
78 </attributes >
89 </suite >
910 <suite name =" Tests" state =" 1" id =" .sh" description =" run **all** of the unit tests" >
1011 <attributes >
11- <![CDATA[ gulp build; echo "$PWD/test/reports/junitresults.xml" > ${self.result}]]>
12+ <![CDATA[ gulp build
13+ echo "$PWD/test/reports/junitresults.xml{test}" > ${self.result}]]>
1214 </attributes >
1315 </suite >
1416 <suite name =" Coverage" state =" 1" id =" .sh" description =" Code coverage based on latest run. Review the ==Reports== tab for historical tracking" >
1719 </attributes >
1820 </suite >
1921 </root >
20- </schema >
22+ </schema >
Original file line number Diff line number Diff line change 11[ ![ Testspace] ( http://www.testspace.com/public/img/testspace_logo.png )] ( http://www.testspace.com )
22***
33
4- ## JavaScript/Jasmine sample for demonstrating Testspace based on the great [ javascript-algorithms repo] ( mgechev/javascript-algorithms )
4+ ## JavaScript/Jasmine sample for demonstrating Testspace based on the [ javascript-algorithms repo] ( mgechev/javascript-algorithms )
55
66Sample demonstrates techniques for using Testspace with Javascript code and the [ Jasmine test framework] ( http://jasmine.github.io/ ) together with [ Istanbul code coverage tool] ( https://gotwarlost.github.io/istanbul/ ) and [ Gulp JS build system] ( http://gulpjs.com/ ) .
77
88[ ![ Build Status] ( https://travis-ci.org/testspace-samples/javascript.jasmine.svg?branch=master )] ( https://travis-ci.org/testspace-samples/php.phpunit )
99[ ![ Space Health] ( https://samples.testspace.com/projects/89/spaces/298/badge )] ( https://samples.testspace.com/projects/89/spaces/298 " Test Cases ")
10+ [ ![ Space Metric] ( https://samples.testspace.com/projects/89/spaces/298/metrics/191/badge )] ( https://samples.testspace.com/projects/89/spaces/298/metrics#metric-191 " Line/Statement Coverage ")
1011[ ![ Space Metric] ( https://samples.testspace.com/projects/89/spaces/298/metrics/198/badge )] ( https://samples.testspace.com/projects/89/spaces/298/metrics#metric-198 " Branch/Condition Coverage ")
1112[ ![ Space Metric] ( https://samples.testspace.com/projects/89/spaces/298/metrics/197/badge )] ( https://samples.testspace.com/projects/89/spaces/298/metrics#metric-197 " Function/Method Coverage ")
12- [ ![ Space Metric] ( https://samples.testspace.com/projects/89/spaces/298/metrics/191/badge )] ( https://samples.testspace.com/projects/89/spaces/298/metrics#metric-191 " Line/Statement Coverage ")
1313
1414
1515***
@@ -18,13 +18,14 @@ In order to run this sample you will need a host workstation with installed npm.
1818
1919<pre >
2020npm install -g gulp
21+ npm install
2122gulp build
2223</pre >
2324
2425Publishing results example:
2526
2627<pre >
27- testspace publish [Tests]test/reports/junitresults.xml test/reports/coverage/clover.xml
28+ testspace publish [Tests]test/reports/junitresults.xml{test} test/reports/coverage/clover.xml
2829</pre >
2930
3031Checkout the [ Space] ( https://samples.testspace.com/projects/javascript/spaces/jasmine ) .
You can’t perform that action at this time.
0 commit comments