tdd set up
This commit is contained in:
11
storage/account_test.go
Normal file
11
storage/account_test.go
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
package storage
|
||||||
|
|
||||||
|
import "testing"
|
||||||
|
|
||||||
|
func TestAccounts(t *testing.T) {
|
||||||
|
t.Fatal("not impl")
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestPrimaryAccounts(t *testing.T) {
|
||||||
|
t.Fatal("not impl")
|
||||||
|
}
|
||||||
11
storage/balance_test.go
Normal file
11
storage/balance_test.go
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
package storage
|
||||||
|
|
||||||
|
import "testing"
|
||||||
|
|
||||||
|
func TestCurrentBalances(t *testing.T) {
|
||||||
|
t.Fatal("not impl")
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestBalancesOverTime(t *testing.T) {
|
||||||
|
t.Fatal("not impl")
|
||||||
|
}
|
||||||
13
storage/storage_test.go
Normal file
13
storage/storage_test.go
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
package storage
|
||||||
|
|
||||||
|
import "testing"
|
||||||
|
|
||||||
|
func testStorage(t *testing.T) (*Storage, func()) {
|
||||||
|
m, can := testMongoNew(t)
|
||||||
|
return &Storage{m}, can
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestStorage(t *testing.T) {
|
||||||
|
_, can := testStorage(t)
|
||||||
|
can()
|
||||||
|
}
|
||||||
7
storage/transaction_test.go
Normal file
7
storage/transaction_test.go
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
package storage
|
||||||
|
|
||||||
|
import "testing"
|
||||||
|
|
||||||
|
func TestTransactions(t *testing.T) {
|
||||||
|
t.Fatal("not impl")
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user