The Artima Developer Community
Sponsored Link

Python Buzz Forum
Javascript Doctest

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ian Bicking

Posts: 900
Nickname: ianb
Registered: Apr, 2003

Ian Bicking is a freelance programmer
Javascript Doctest Posted: May 28, 2006 9:15 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ian Bicking.
Original Post: Javascript Doctest
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ian Bicking
Latest Posts From Ian Bicking

Advertisement

Since I'm thinking about writing a Javascript Logo, I decided I needed a good test framework. I was happy with my hack to use Python's doctest for testing Logo, so I thought I'd try to use doctest style testing in this project too.

I haven't started on the Logo part yet, but I did write a Javascript doctest runner. It uses MochiKit, located at http://svn.colorstudy.com/home/ianb/jsdoctest -- but more interesting is the demo.

Python has oodles of different ways to do testing; but if there was one kind of testing I'd take away from that diversity of projects, it'd be doctest. Especially for an environment like Javascript where the lightness of the system is more important than organization. So I'm fairly pleased with how this feels so far, even though I haven't yet used it much.

Read: Javascript Doctest

Topic: Updated Plone 2.5 Beta 2 Installer Previous Topic   Next Topic Topic: links for 2006-05-27

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use