| Add a lein test that iterates over the collected test queries (i.e. those in load-test/) and checks that they at least succeed, i.e. that they produce http status 200, and that the json result is sane. It's OK for the db to be empty for now, though if it's easy to come up with some suitable trivial data, then great. While we may eventually want to improve the tests, for now let's just make sure the queries don't fail, if nothing else. That alone would be sufficient to catch problems like the recent group_by issue, assuming our suite includes one of those queries. Also not critical, but we might want to consider moving the load-test queries to a more general, shared location, perhaps somewhere in test-resources. |