Monday, January 9th, 2006

J3Unit: javascript testing + jetty and junit

Category: Builds, Firefox, Java, JavaScript, Testing, Toolkit

<p>
J3Unit is a new OO testing framework for Javascript with optional integration with Jetty and Junit for automation into your test suite. It builds upon the work done with the Script.aculo.us test unit runner and JSUnit.

Of course, you can grab the zip file and just get up and running in static mode. Or take a look at the demo page for how static mode works.

Local browser mode sounds like an alternative to Selenium, or maybe Watir, though the description isn’t quite clear on it:

Local Browser Mode is a JUnit test case DefaultJ3UnitTest that runs both Jetty and Firefox on your local machine. This test case is intended to be included in a larger suite of JUnit tests that the user plans on running directly on his or her machine.

So I’m guessing the idea behind this mode is you can write your test cases in Junit or Javascript, and have a consistent, stand alone run environment with the Jetty+Firefox package. Of course, going with Junit brings with it the possibility of integration with Ant and CruiseControl, as the dojo folks have been doing this for awhile with Jum.

Does anyone know of similiar automation options for Javascript that don’t depend on Ant or Java?

(via Matt, who appears to have trackbacks disabled)

Related Content:

  • Setting Up a Maven Repository
    This article looks at some of the functionality that a maven repository should provide. Criteria for choosing a maven repository are listed. Steps...
  • Introduction to the Spring Framework 2.5
    The Spring Framework has continued to grow in popularity, and has become the de facto standard for enterprise Java development. In this article, I'll...
  • What's New in the eXo Platform 1.0 beta 4
    By using an open source model we target developers and provide them with many features that make their everyday life easier. Our strategy clearly...
  • Introduction to the Spring Framework
    Since the first version of this article was published in October, 2003, the Spring Framework has steadily grown in popularity. It has progressed...

Posted by Rob Sanheim at 3:52 pm
2 Comments

+++--
3.8 rating from 36 votes

2 Comments »

Comments feed TrackBack URI

[...] I just ran across this Ajaxian post that points us to something I look forward to looking into. It has every one of my favorite prod-words in it: jUnit, Jetty, JavaScript, script.aculo.us…. [...]

Pingback by Open Sailing » Blog Archive » J3Unit — January 10, 2006

Great information.
thanks
http://www.galaxyweblinks.com/turn-key-solutions/profilebuilder/index.htm

Comment by custumsoftware — April 5, 2008

Leave a comment

You must be logged in to post a comment.