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
|