Skip to content

Commit

Permalink
Add test script
Browse files Browse the repository at this point in the history
  • Loading branch information
thrasher- committed Apr 3, 2017
1 parent f51ec79 commit 86d52ef
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
99 changes: 99 additions & 0 deletions coverage.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@

mode: atomic
github.com/thrasher-/gocryptotrader/common/common.go:37.34,41.2 3 1
github.com/thrasher-/gocryptotrader/common/common.go:43.37,47.2 3 1
github.com/thrasher-/gocryptotrader/common/common.go:49.37,53.2 3 1
github.com/thrasher-/gocryptotrader/common/common.go:55.54,58.18 2 0
github.com/thrasher-/gocryptotrader/common/common.go:77.2,79.22 3 0
github.com/thrasher-/gocryptotrader/common/common.go:59.2,60.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:63.2,64.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:67.2,68.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:71.2,72.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:60.3,62.4 1 0
github.com/thrasher-/gocryptotrader/common/common.go:64.3,66.4 1 0
github.com/thrasher-/gocryptotrader/common/common.go:68.3,70.4 1 0
github.com/thrasher-/gocryptotrader/common/common.go:72.3,74.4 1 0
github.com/thrasher-/gocryptotrader/common/common.go:82.45,84.2 1 4
github.com/thrasher-/gocryptotrader/common/common.go:86.49,88.16 2 1
github.com/thrasher-/gocryptotrader/common/common.go:91.2,91.20 1 1
github.com/thrasher-/gocryptotrader/common/common.go:88.16,90.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:94.40,96.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:98.71,100.25 2 1
github.com/thrasher-/gocryptotrader/common/common.go:117.2,117.13 1 1
github.com/thrasher-/gocryptotrader/common/common.go:100.25,101.29 1 2
github.com/thrasher-/gocryptotrader/common/common.go:113.3,113.13 1 2
github.com/thrasher-/gocryptotrader/common/common.go:101.29,103.30 2 2
github.com/thrasher-/gocryptotrader/common/common.go:109.4,109.14 1 2
github.com/thrasher-/gocryptotrader/common/common.go:103.30,104.17 1 2
github.com/thrasher-/gocryptotrader/common/common.go:104.17,106.11 2 0
github.com/thrasher-/gocryptotrader/common/common.go:109.14,111.5 1 2
github.com/thrasher-/gocryptotrader/common/common.go:113.13,115.4 1 1
github.com/thrasher-/gocryptotrader/common/common.go:120.51,122.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:124.59,126.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:128.53,130.2 1 4
github.com/thrasher-/gocryptotrader/common/common.go:132.46,134.2 1 0
github.com/thrasher-/gocryptotrader/common/common.go:136.41,138.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:140.41,142.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:144.46,151.16 7 1
github.com/thrasher-/gocryptotrader/common/common.go:155.2,155.15 1 1
github.com/thrasher-/gocryptotrader/common/common.go:161.2,161.22 1 1
github.com/thrasher-/gocryptotrader/common/common.go:151.16,154.3 2 0
github.com/thrasher-/gocryptotrader/common/common.go:155.15,157.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:157.3,159.3 1 1
github.com/thrasher-/gocryptotrader/common/common.go:164.39,165.15 1 2
github.com/thrasher-/gocryptotrader/common/common.go:165.15,167.3 1 1
github.com/thrasher-/gocryptotrader/common/common.go:167.3,169.3 1 1
github.com/thrasher-/gocryptotrader/common/common.go:172.33,173.66 1 0
github.com/thrasher-/gocryptotrader/common/common.go:176.2,176.14 1 0
github.com/thrasher-/gocryptotrader/common/common.go:173.66,175.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:179.58,181.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:183.48,185.2 1 2
github.com/thrasher-/gocryptotrader/common/common.go:187.73,189.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:191.74,193.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:195.77,197.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:199.102,202.63 2 0
github.com/thrasher-/gocryptotrader/common/common.go:206.2,208.16 2 0
github.com/thrasher-/gocryptotrader/common/common.go:212.2,212.28 1 0
github.com/thrasher-/gocryptotrader/common/common.go:216.2,219.16 3 0
github.com/thrasher-/gocryptotrader/common/common.go:223.2,226.16 3 0
github.com/thrasher-/gocryptotrader/common/common.go:230.2,230.30 1 0
github.com/thrasher-/gocryptotrader/common/common.go:202.63,204.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:208.16,210.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:212.28,214.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:219.16,221.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:226.16,228.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:233.86,236.16 2 0
github.com/thrasher-/gocryptotrader/common/common.go:240.2,240.27 1 0
github.com/thrasher-/gocryptotrader/common/common.go:245.2,247.16 2 0
github.com/thrasher-/gocryptotrader/common/common.go:251.2,253.16 2 0
github.com/thrasher-/gocryptotrader/common/common.go:263.2,263.12 1 0
github.com/thrasher-/gocryptotrader/common/common.go:236.16,238.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:240.27,243.3 2 0
github.com/thrasher-/gocryptotrader/common/common.go:247.16,249.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:253.16,256.17 2 0
github.com/thrasher-/gocryptotrader/common/common.go:256.17,258.4 1 0
github.com/thrasher-/gocryptotrader/common/common.go:259.3,261.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:266.48,268.2 1 0
github.com/thrasher-/gocryptotrader/common/common.go:270.52,272.2 1 0
github.com/thrasher-/gocryptotrader/common/common.go:274.60,276.21 2 0
github.com/thrasher-/gocryptotrader/common/common.go:279.2,279.13 1 0
github.com/thrasher-/gocryptotrader/common/common.go:276.21,278.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:282.41,284.16 2 2
github.com/thrasher-/gocryptotrader/common/common.go:287.2,287.13 1 2
github.com/thrasher-/gocryptotrader/common/common.go:284.16,286.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:290.35,294.2 3 1
github.com/thrasher-/gocryptotrader/common/common.go:296.52,298.16 2 0
github.com/thrasher-/gocryptotrader/common/common.go:302.2,305.16 3 0
github.com/thrasher-/gocryptotrader/common/common.go:309.2,310.12 2 0
github.com/thrasher-/gocryptotrader/common/common.go:298.16,300.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:305.16,307.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:313.53,315.2 1 1
github.com/thrasher-/gocryptotrader/common/common.go:317.64,319.16 2 1
github.com/thrasher-/gocryptotrader/common/common.go:323.2,323.29 1 1
github.com/thrasher-/gocryptotrader/common/common.go:319.16,321.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:326.44,328.16 2 0
github.com/thrasher-/gocryptotrader/common/common.go:331.2,331.18 1 0
github.com/thrasher-/gocryptotrader/common/common.go:328.16,330.3 1 0
github.com/thrasher-/gocryptotrader/common/common.go:334.48,336.16 2 0
github.com/thrasher-/gocryptotrader/common/common.go:339.2,339.12 1 0
github.com/thrasher-/gocryptotrader/common/common.go:336.16,338.3 1 0
12 changes: 12 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -e
echo "" > coverage.txt

for d in $(go list ./... | grep -v vendor); do
go test -race -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
done

0 comments on commit 86d52ef

Please sign in to comment.