js meetup: ScrewUnit
June 06, 2008
Nick demonstrated ScrewUnit at the JSMeetup last night. My notes:
- behavior-driven development, particularly popular in the Ruby world with the RSPEC framework
- organize your tests, share setup
- global befores and afters let you effectively test the DOM
- nested describes, nested example groups in RSPEC
What about continuous integration? there’s a ScrewUnit server, navigate URLs – only run those in that directory. There are callbacks when a suite ends/begins — integrated into CruiseControl
on GIT hub, MIT license
support for async libs? unsolved problems, most people at the company stub out async.
What about user interactions? serious attention on event and DOM testing. Nothing in particular to facilitate that except before and after. JQuery is a good approach…