selfcontained/castaway

2013-09-18 03:47:35
9.0
✓10.0
25.0
26.0
27.0
28.0
29.0
19.0
20.0
21.0
22.0
23.0
24.0
✓6.0
15.0
✓6.0
✓6.0
4.2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
timeout waiting to hear back from iexplore/9.0
2013-09-17 04:18:35
✓9.0
✓10.0
✓25.0
26.0
27.0
28.0
29.0
✓19.0
20.0
21.0
22.0
23.0
24.0
✓6.0
✓12.0
15.0
✓6.0
✓6.0
4.2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
android-browser/4.2
timeout waiting to hear back from android-browser/4.2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
2013-08-26 21:59:20
✓9.0
✓10.0
✓25.0
26.0
27.0
28.0
29.0
✓19.0
20.0
21.0
22.0
23.0
24.0
6.0
✓12.0
15.0
6.0
6.0
4.2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
timeout waiting to hear back from safari/6.0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
2013-07-25 21:32:21
9.0
10.0
✓25.0
26.0
27.0
28.0
29.0
19.0
20.0
21.0
22.0
23.0
24.0
6.0
6.0
6.0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6288 run@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6332 run@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6288 run@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6332 run@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6288 run@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6332 run@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date [36]</</</<@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6292 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5279 ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined [36]</</</<@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6356 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5279 ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6292:4) at run (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5279:7) ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/1374783942940.880c0d23.js:6356:4) at run (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/c53c151e93eb468ed753d0734f41361d7597eb92.1374783942341/node_modules/mocha/mocha.js:5279:7) ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
2013-06-20 20:01:26
9.0
10.0
✓25.0
26.0
27.0
28.0
29.0
19.0
20.0
21.0
22.0
23.0
24.0
6.0
6.0
6.0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:104 run@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:148 run@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:104 run@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:148 run@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:104 run@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:148 run@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date [2]</</</<@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:108 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5279 ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined [2]</</</<@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:172 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5279 ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:108:4) at run (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5279:7) ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/1371754769012.01520b8c.js:172:4) at run (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/af19050e81d78826ddb1f4df07c8d304867a7d9e.1371754768485/node_modules/mocha/mocha.js:5279:7) ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
2013-06-17 23:18:59
9.0
10.0
✓25.0
26.0
27.0
28.0
29.0
19.0
20.0
21.0
22.0
23.0
24.0
6.0
6.0
6.0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:102 run@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:146 run@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:102 run@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:146 run@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:102 run@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:146 run@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date [2]</</</<@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:106 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5279 ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined [2]</</</<@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:170 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5279 ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:106:4) at run (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5279:7) ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/1371507390805.e8beec32.js:170:4) at run (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/afffea519b895d4b82768ad5725268c5dfc1233a.1371507390492/node_modules/mocha/mocha.js:5279:7) ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
2013-06-17 23:15:50
9.0
10.0
✓25.0
26.0
27.0
28.0
29.0
19.0
20.0
21.0
22.0
23.0
24.0
6.0
6.0
6.0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:102 run@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:146 run@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:102 run@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:146 run@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:102 run@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:146 run@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date [2]</</</<@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:106 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5279 ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined [2]</</</<@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:170 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5279 ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:106:4) at run (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5279:7) ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/1371507245045.89e6fe3c.js:170:4) at run (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/9f1f311a8ecef5cf7709cf5a9a2569df7b733d96.1371507244712/node_modules/mocha/mocha.js:5279:7) ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
2013-06-17 23:17:18
9.0
10.0
✓25.0
26.0
27.0
28.0
29.0
19.0
20.0
21.0
22.0
23.0
24.0
6.0
6.0
6.0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:102 run@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:146 run@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:102 run@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:146 run@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:102 run@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5276 [native code] ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:146 run@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:3979 runTest@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4394 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4448 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4325 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4333 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4285 @http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4306 timeslice@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5276 [native code] ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 27 # fail 0
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date [2]</</</<@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:106 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5279 ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined [2]</</</<@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:170 Runnable.prototype.run@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5279 ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:106:4) at run (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5279:7) ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined TypeError: Unable to get property 'constructor' of undefined or null reference at Anonymous function (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/1371507160594.d681dd5f.js:170:4) at run (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4039:24) at runTest (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4404:5) at Anonymous function (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:4307:5) at timeslice (http://git.testling.com/work/selfcontained/repos/cbbe6b9acc7bb30162d86f204c44705183e5c23c.1371507160218/node_modules/mocha/mocha.js:5279:7) ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2
1..27 ok 1 casting types Number should turn a string into a Number ok 2 casting types Number should turn leave a Number a Number ok 3 casting types Number should turn a string 0 into a Number ok 4 casting types Number should turn a non-numeric string into NaN not ok 5 casting types Date should turn a properly formatted date-time string into a Date ok 6 casting types Date should turn a properly formatted date string into a Date ok 7 casting types Date should turn an improperly formatted date-string into null ok 8 casting types Array should turn a csv into an array of strings ok 9 casting types Array should turn a csv into an array of numbers when specified not ok 10 casting types Array should handle an array of objects that have schemas defined ok 11 casting types Boolean should turn 0 into false ok 12 casting types Boolean should turn "0" into false ok 13 casting types Boolean should turn "false" into false ok 14 casting types Boolean should turn "FALSE" into false ok 15 casting types Boolean should turn "no" into false ok 16 casting types Boolean should turn "NO" into false ok 17 casting types Boolean should turn 1 into true ok 18 casting types Boolean should turn "1" into true ok 19 casting types Boolean should turn "true" into true ok 20 casting types Boolean should turn "TRUE" into true ok 21 casting types Boolean should turn "yes" into true ok 22 casting types Boolean should turn "YES" into true ok 23 casting types Boolean should turn 2 into null ok 24 casting types Boolean should turn "2" into null ok 25 casting types Boolean should turn "foobar" into null ok 26 casting types Boolean should leave false as false ok 27 casting types Boolean should leave true as true # tests 27 # pass 25 # fail 2