We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a5557 commit 3cf64faCopy full SHA for 3cf64fa
test.ps1
@@ -0,0 +1,22 @@
1
+Write-Host "Start Aspose.Cells Cloud SDK for GO"
2
+ $StartTime = Get-Date
3
+
4
+ [string[]]$lines = go test -v --timeout 50m
5
+ $passed = 0
6
+ $total =0
7
+ foreach( $line in $lines)
8
+ {
9
+ if(($line -match "=== RUN"))
10
11
+ $total++
12
+ }
13
+ if(($line -match "--- PASS") )
14
15
+ $passed++
16
17
18
+ $failed = $total - $passed
19
+ $EndTime = Get-Date
20
+ $timespan ="{0:N2}" -f (New-TimeSpan $StartTime $EndTime).TotalSeconds
21
+ Write-Host "Spent ${timespan}s on finishing test. Result : Total ${total}, Passed ${passed} , Failed ${failed} ."
22
0 commit comments