On 5 May 2005, at 18:00, David Wheeler wrote:
On May 5, 2005, at 04:26 , Adrian Howard wrote:
Here's a weird idea: how about the option of AJAXing the test harness results back to a receiving server somewhere that understands TAP? Bingo: TAP testing of JS embedded in web pages in its native habitat.
That's just evil. Maybe when Schwern or whoever had the idea gets networked TAP going, I'll just send the data there. :-)
That's pretty much what I did when I hacked JSUnit to output TAP. Worked quite nicely.
Do you have some sample code for your TAP server?
Yup. I'll see if I can dig it out next time I'm home. It's currently sitting on a linux box sitting behind the sofa a couple of hundred miles from my current location :-)
Adrian