Re: JTF: Javascript Unit Testing Farm
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: JTF: Javascript Unit Testing Farm

From: <sam.partington@gmail.com>
Date: Fri Mar 31 2006 - 15:28:04 CEST

> http://jtf.ploki.info

regarding test_stringToDate, and the comment :

"""
* Posted by acemtp the 2006-03-31 13:10:14 Rated 1 stars. Marked as not
working script
 I disable the script for now because your log is too big (15kb). I
have to find a way to send bigger log and please find a way to send
less log :)
"""

I understand now what the submit page meant by the log is limited to
200 characters. I didn't realise that testing an assertion added to
the log.

I don't really see how I can send less log, except by removing the
tests :-) There are only 64 assertions made, which I don't think is
unusual for testing boundary cases on a function like that, (To be
honest its not really enough, there are a whole slew of test cases that
should be added)

I guess the simplest thing would be to only log on a failure, at the
moment pass or fail the log is sent to the server. Which is I think
fairly normal for many unit testing frameworks. You don't really need
confirmation of every test that passed, just a count of how many tests
passed and which ones failed.

I think the 200 character limit will have to be solved at some point,
the other alternative is to use POST the data rather than use a GET
request.

Sam
Received on Mon May 1 04:34:09 2006