[ABE.pm] schema system implemented in a few languages!
Ricardo SIGNES
perl.abe at rjbs.manxome.org
Fri Aug 22 16:12:01 PDT 2008
Phew! I have completed the basic implementation of my schema system (data
validator) in the first set of languages I cared about. Hopefully Tom and I
can bang out a C# implementation in the next week or two, and then I start
refining and working on ways to put it to use!
The passing TODO tests, below, represent cases where I told the test harness
that things might fail and that it's okay, but where it didn't fail. These are
mostly to do with Perl's inability to tell numbers from strings and PHP's
inability to parse some valid JSON.
~/code/projects/Rx$ ./util/runtests.pl
js/rx/test/runner.js....ok
perl/t/spec.t...........ok
perl/t/util-range.t.....ok
php/rx-test.php.........ok
php/util-test.php.......ok
python/rx-test.py.......ok
ruby/rx-test.rb.........ok
All tests successful.
Test Summary Report
-------------------
perl/t/spec.t (Wstat: 0 Tests: 892 Failed: 0)
TODO passed: 254, 256-260, 262-263, 349, 351-355, 357-358
543, 545-547, 549, 551-552
php/rx-test.php (Wstat: 0 Tests: 892 Failed: 0)
TODO passed: 20, 78, 376, 413, 512, 563, 609, 655, 694
737, 788, 824, 864
Files=7, Tests=4461, 3 wallclock secs ( 0.67 usr 0.04 sys + 1.49 cusr 0.22 csys = 2.42 CPU)
Result: PASS
--
rjbs
More information about the ABE-pm
mailing list