foursquare/rogue — pull request #39 by nsanch (2011-12-14 23:30:21+00:00)
Title: End-to-end tests.

Add tests that hit a running mongo to verify that the queries Rogue
formulates actually do what we expect.

* Factored test models from QueryTest into TestModels.scala
* Made EndToEndTest with some simple query tests that I lifted from
QueryTest.
* Added a start-test-mongo.sh script to fetch a mongo binary if
necessary, make a mongo-testdb directory for its data, and start it.
* Added a RogueTestMongo mongo identifier and made all of the test
models use it. It connects to localhost:37648 (EROGU), the same port
that start-test-mongo.sh uses.
* Added some stuff to gitignore too.