MathWebSearch / mws

MathWebSearch Implementation
https://search.mathweb.org/
GNU General Public License v3.0
47 stars 12 forks source link

Integration test for mws #44

Closed cprodescu closed 10 years ago

cprodescu commented 10 years ago

A test which launches mwsd, sends a query and verifies the response. This should run as part of make test. In a gist, the test should do something on the lines of:

./bin/mwsd -I data/zbl &
MWSD_PID="$!"
./scripts/send-qvar-query.sh 9090 0 0 > $TMP_RESPONSE
kill -9 $MWSD_PID
# check that $TMP_RESPONSE has the correct total count