top

Package coordinatetest provides generic functional tests for the Coordinate interface. These are implemented via the http://labix.org/gocheck support library, so a typical backend test module will look like

package mybackend

import (
    "testing"
    "github.com/dmaze/goordinate/coordinate/coordinatetest"
    "gopkg.in/check.v1"
)

// Test is the top-level entry point to run tests.
func Test(t *testing.T) { check.TestingT(t) }

var _ = check.Suite(&coordinatetest.Suite{Coordinate: New()})

Imported only in test by 2 package(s)

  1. github.com/dmaze/goordinate/memory
  2. github.com/dmaze/goordinate/postgres

Imports 4 package(s)

  1. github.com/benbjohnson/clock
  2. github.com/dmaze/goordinate/cborrpc
  3. github.com/dmaze/goordinate/coordinate
  4. gopkg.in/check.v1