cayleygraph/cayley

Improve Integration Tests using `.Save()` and `.Or()`

Open

#238 geöffnet am 21. Apr. 2015

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (1.277 Forks)batch import
Test Coveragegood first issue

Repository-Metriken

Stars
 (14.291 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

gocov test -coverpkg=./graph/iterator . | gocov report shows we cover the base iterators in our integration test with a code coverage of 53.45% (as of this writing). Most of these come from lack of testing the Optional iterator or the Or iterator.

Simple enough: add some (hopefully grunty) integration/benchmark queries to cayley_test.go and raise this number considerably.

Contributor Guide