Posts tagged with "javascript"

javascript testing with seacucumber

Seacucumber was a project that was a tool we used on a previous rails project. My friends Mike Ward and <a href= “http://www.peterryan.net/”>Peter Ryan opensourced it some time back. It was dormant for awhile since it worked great with prototype. Another thing was that it looked and behaved very similar to Dr. Nic’s javascript testing that you can download for rails. Recently I was on a project where we used jquery and we did not have anything to run javascript tests and break the build on failure.

So I revived seacucumber development and added jquery support to it. I had to modify jquery test runner to postback results as prototype does. So if you need a tool to automate your javascript testing you should use seacucumber. It has been moved to github. Feel free to download it, fork it and use it. Let me know what you would like added to this tool.

accordion.js that is simple and works with prototype1.6

Released accordion.js on github. We were quite frustrated with the way accordion v2.0 behaved with prototype1.6. Upgrading that from prototype1.5 broke the accordion when using with images. Our simple version does not have any effects yet but work beautifully and is completely tested.
Try it out!!