Activate your free membership today | Log-in

Friday, February 15th, 2008

newjs: JavaScript Project Creation

Category: JavaScript, Testing, Utility

<blockquote>

When you start a new JavaScript library, how do you layout the source files, the tests, the distribution files? Do you have support scripts to generate distributions from source files? Run your JavaScript unit tests? Generators to create new unit test HTML files?

This is why Dr. Nic created newjs, a Ruby script that sets you up to do the right thing by your pet project. No longer will you crack open a .js file and slice and dice your JavaScript willy nilly. Instead, you will use newjs to:

  • Setup your directory structure for src, tests, documentation, distribution
  • Start building unit tests using unittest.js
  • Generate test files
  • Run unit tests and get nice HTML output
  • Package up your src for distribution
  • Create a website for your project (wait. is this maven???? ;)

Related Content:

  • Ajax app testing now available in Parasoft WebKing
    Parasoft WebKing 6.0 helps Web developers plug holes in JavaScript through policy creation, strong unit tests and asynchronous HTTP message...
  • Ajax for enterprise SOA is Tibco goal
    The open source Tibco General Interface beta release aims to drive adoption of Ajax through developers working on enterprise SOA...
  • Eclipse releases first Web tools download
    The first release from the Eclipse Web Tools Project includes features for JavaServer Pages, JavaScript and WSDL in addition to Web services tools for...
  • WSO2 releases mashup server
    WSO2 Inc., an open-source SOA vendor, combines Web services and JavaScript in its release of Mashup Server 1.0. WSO2 also announced creation of a...
  • Gavin King on Ajax and Seam
    Gavin King, creator of the Seam project at JBoss, now a division of Redhat Inc., discusses ways developers can use tools like the ones he's developed...

Posted by Dion Almaer at 7:36 am
Comment here

+++--
3.6 rating from 13 votes

Comments Here »

Comments feed TrackBack URI

Leave a comment

You must be logged in to post a comment.