cayleygraph/cayley

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

Open

#238 aperta il 21 apr 2015

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Go (1277 fork)batch import
Test Coveragegood first issue

Metriche repository

Star
 (14.291 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor