|
|
|
CPS4/Z3ECM sprint, day 4, Javascript unit testing automationFor the last day of sprint, I wanted to set up a Javascript unit test
automation,
in order to be able to run all Js unitests like Python tests are through buildbot. Scriptaculous unit testing framework provides a way to do it: the tests results are sent to a url through an Ajax call. More infos on unit testing javascript here: Scriptaculous Unit testing Therefore, I have coded:
Some caveats to correct before its useable in a Zope project:
So to the question "Can I do TDD in JS as smoothly as in Python ?", I'd answer: "Yes, it's coming up :)" You can check the work here: nuxeo.javascript cps tests I might try to release the js test runner in a clean package sometimes, as it might be reused. This entry contains a screencast, you should check it in a browser Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior. Trackback PingsTrackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/tarek_ziade/2006_04_21_javascript-unit-testing-automation/tbping
|
Nuxeo Bloggers: Log in! Search Nuxeo Blogs
About this blog
Tarek Ziadé Nuxeo Bloggers
Photos and Pictures
|
|
Nuxeo -
Indesko -
Nuxeo 5 Project
All content is copyrighted by their author. CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS. |