issues
search
cpsgroup
/
sarapis
A RESTful, proxied, read-only Solr interface
http://sarapis.herokuapp.com
MIT License
1
stars
2
forks
source link
Add unit tests
#1
Closed
vyo
closed
9 years ago
vyo
commented
9 years ago
tests
swagger
[x] availability
[x] response type (json)
[x] basic spec attributes (swagger version)
[x] completeness (endpoints)
[x] spec contents sanity check
solr
[x] basic query
[ ] page option
[ ] rows option
[ ] sort option
[ ] rangeFilter option
[x] matchFilter option
[ ] restrict option
[ ] groupBy option
[ ] timeout option
admin
[ ] endpoints test stubs
vyo
commented
9 years ago
added unit tests for swagger availability, response type and basic attributes
refactored cli argument setup to not trigger on tests (via NODE_ENV)
refactored logging level setup to distinguish between development, testing and production
refactored endpoint registration to load up endpoints registered in extra modules
vyo
commented
9 years ago
added test command to package.json
added coverage analysis and html report generation
tests
swagger
solr
admin