cayleygraph/cayley

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

Open

#238 aberto em 21 de abr. de 2015

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Go (1.277 forks)batch import
Test Coveragegood first issue

Métricas do repositório

Stars
 (14.291 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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.

Guia do colaborador