I've been using Jasmine for a year or so and I'm very satisfied with it.
Recently, I was having a hard time debugging my objects, since their string representations were too big. I tried implementing toString, but it didn't work.
I was willing to implement this feature myself in Jasmine. So, I started looking at Jasmine source code, but then I found a spec describing this feature as actually already implemented, only that it expects a method named jasmineToString(), instead of toString() (see here, at the end of the file:
https://github.com/pivotal/jasmine/blob/1_3_x/spec/core/PrettyPrintSpec.js)
Many people might go through this same problem, never finding out the solution. Besides, creating a method with such name in one's objects/classes will artificially couple one's code to Jasmine. Why not the usual toString? As far as I know, debugging is its sole purpose, at least in Java. I'm unable to see any reason not to use. Is there any?
Regards,
André