cayleygraph/cayley

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

Open

#238 创建于 2015年4月21日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (14,291 star) (1,277 fork)batch import
Test Coveragegood first issue

描述

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.

贡献者指南