cayleygraph/cayley

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

Open

#238 opened on Apr 21, 2015

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (1,277 forks)batch import
Test Coveragegood first issue

Repository metrics

Stars
 (14,291 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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