Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 460 Bytes

HACKING.md

File metadata and controls

17 lines (9 loc) · 460 Bytes

Testing

To run tests, this library loads data into an elasticsearch server and tests against that.

See core/test_test.go. The data set should remain the same as it pulls a known set of github archive data.

usage:

$go test -v -host eshost -loaddata # load the data

$go test -v -host   # without load data, which only needs to run once

Clean out the Elasticsearch index:

http -v DELETE http://localhost:9200/github