cayleygraph/cayley

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

Open

#238 ouverte le 21 avr. 2015

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Go (1 277 forks)batch import
Test Coveragegood first issue

Métriques du dépôt

Stars
 (14 291 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur