Add rspec to cube schemas
Overview
Adds the ability to write and execute specs locally and within the CI environment.
How to write specs
- Inside
spec
, write functional specs that execute queries against cube. There are a couple of examples already written.
How to run specs
Currently the best way to run the specs locally is by running the CI job itself: (make sure you have gitlab-runner
installed locally, you don't need any runners actually configured but docker does need to be installed!)
gitlab-runner exec docker --docker-privileged schema_specs
The feedback loop on this is a little too long, right now but its functional as a first iteration.
Edited by Max Woolf