Stream: cql
Topic: automated testing...
Erich Schulz (Jun 22 2016 at 12:09):
so it begins....
Erich Schulz (Jun 22 2016 at 12:09):
Erich Schulz (Jun 22 2016 at 12:10):
Executing JS test1 ✓ X should return 4 ✓ XPlusY should return 9 ✓ XMinusY should return -1 ✓ XTimesY should return 20 1) XDivideY should return 0.8 2) XLogY should return 3 ✓ XModuloY should return 4 ✓ XPowerY should return 1 ✓ And_IsTrue should return true ✓ And_IsFalse should return false ✓ And_IsFalse1 should return false 3) And_IsAlsoFalse should return false 4) And_IsAlsoFalse1 should return false 5) And_IsNull should return null 6) And_IsNull1 should return null 7) NotIsTrue should return true 8) NotIsFalse should return false 9) NotIsNull should return null 10) OrIsTrue should return true 11) OrIsTrue1 should return true ✓ OrIsTrue2 should return true 12) OrIsAlsoTrue should return true 13) OrIsAlsoTrue1 should return true ✓ OrIsFalse should return false 14) OrIsNull should return null 15) OrIsNull1 should return null 12 passing (69ms) 15 failing
Erich Schulz (Jun 22 2016 at 12:11):
I reckon about ~2000 tests should be getting close....
Erich Schulz (Jun 29 2016 at 11:11):
upto 175 tests passing...
Erich Schulz (Jun 29 2016 at 11:12):
@Bryn Rhodes currently i'm working through the coffee script tests here
Erich Schulz (Jun 29 2016 at 11:14):
in a perfect world these tests would exist in an sharable standard form [{CQL, [{expression, result},... ] },... ] that could be automatically formated into an appropriate test harness to run against any implementation...
Erich Schulz (Jun 29 2016 at 11:15):
is there any point putting a request in for such a beasty?
Erich Schulz (Jun 29 2016 at 11:38):
especially in view of the fact they are not unique so a bit of a large scale revision is needed...
Bryn Rhodes (Jun 30 2016 at 04:22):
Yes, that would be fantastic, a regression suite that should be runnable on any engine (a sort of certification suite, if you will).
Bryn Rhodes (Jun 30 2016 at 04:23):
That seems most appropriate as a GitHub issue submission though.
Erich Schulz (Jul 09 2016 at 08:39):
i've just created a monster 1600 line cql file based on you work @Bryn Rhodes and @Chris Moesel ... I'm upto line 98...
Last updated: Apr 12 2022 at 19:14 UTC