Groove Tips






Subscribe to "Groove Tips" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


15 January 2003
 

Built in testing

Oh yes I read Kent Beck, but I don't always practise what he preaches, though I used JUnit on a web project last year and very useful it was too.

So I'm thinking how can we use test-first design inside of our Groove Javascripts? We have a couple of options eg

http://www.edwardh.com/jsunit/

(looks fully featured, very nice TestRunner)

and

http://jsassertunit.sourceforge.net/docs/index.html

(more compact, love those comments!) - looks easier to get going inside of Groove.

Next steps:

  • convert assert.js to gsl file
  • get HelloWorld test going from test tpl file
  • check that results appear in browser

12:07:15 AM    


Click here to visit the Radio UserLand website. © Copyright 2005 Neil Finlayson.
Last update: 14/11/2005; 14:44:31.
January 2003
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Sep   Feb