Open snapperben opened 7 years ago
Thanks for having a look. I can't think of any unit tests other than testing the connection (that wouldn't really do anything more than running in an actual command file would) or providing sample SQL code (which wouldn't do anything other than show that the test SQL runs)
The charParser was to get the stored procedure delimiter commands to work. What might be useful is to provide some sample SQL to test the range of different comments that it should now cope with. I'll have a go at that in the next few weeks. The latest version can be installed as gulp-mysql-command-file-processor@beta
Yup, I think sample SQL to test the range of different comments is perfect for "unit test" cases.
When submitting a stored procedure the delimiter statement potentially needs to be handled diffrently