Bryan Robbins
Bryan Robbins
Can we come up with a unit test which forces this condition?
Checking the column definition expressions is the hardest part of this. I'm using the pyparsing module (http://pyparsing.wikispaces.com/) to write a Python class with the necessary logic. Check out https://github.com/bryantrobbins/baseball/blob/master/shared/btr3baseball/ExpressionValidator.py
The Configuration Validator (top-level) is Here: https://github.com/bryantrobbins/baseball/blob/master/shared/btr3baseball/ConfigValidator.py
TODO: Add a list here of possible exceptions thrown by the ConfigValidator for consumption by the UI and Worker