Ajax: Tools of the trade
Ajax has effectively launched a new era in JavaScript development, bringing with it a plethora of robust tools for the JavaScript
programmer. Take a quick tour of the tools you could be using for JS development, debugging, testing, and more. You'll never
code JavaScript in just a text editor again.
Nathaniel T. Schutta,
May 2009
Writing good unit tests, Part 2: Follow your nose
Klaus Berg continues his investigation of the tools and best practices that facilitate programming with GUTs. Get tips for
writing cleaner,
more efficient assertions, handling checked and unchecked exceptions, and knowing when and how to refactor your test code.
Examples are based on
JUnit 3 and 4, TestNG, and Hamcrest.
Klaus P. Berg,
April 2009
Open source Java projects: Jakarta Cactus
Unit-testing server-side code is famously challenging, but Jakarta Cactus does make it easier. Learn how Cactus extends JUnit
with an in-container strategy that lets you execute test cases for servlets, EJBs, and other server-side code. You'll also
learn how to automate your Cactus-based tests.
Steven Haines,
March 2009
Writing good unit tests, Part 1: Follow your GUTs
What do you know about the quality of your unit tests? Probably not as much as you know about your production code. Klaus
Berg explains why craft matters just as much for test code as for production code, then provides a comprehensive listing
of agile tools and best practices for improving the quality of your unit tests.
Klaus P. Berg,
March 2009
Introduction to the Dojo toolkit, Part 2: Infrastructure code
Ajax programming isn't all fun, all the time, and that's just where a bigger JavaScript framework comes in handy. In this
second half of his introduction to the Dojo toolkit, Sunil Patil shows you how Dojo's muscle can help you overcome common
Ajax challenges, while also providing the infrastructure for handling cross-browser compatibility, error handling, and data
encoding.
Sunil Patil,
February 2009
Introduction to the Dojo toolkit, Part 1: Setup, core, and widgets
If you're looking for a JavaScript framework that does more than simplify DOM access, the Dojo toolkit could be your answer.
Find out how you could enhance your Web 2.0 mojo with Dojo's object-oriented JavaScript programming model and handy Ajax-style
widgets.
Sunil Patil,
January 2009
Code quality on a shoestring
Code quality and software lifecycle management are watchwords for the agile set, but mainstream developers and managers will
pay more attention to both in economic hard times. InfoWorld's Paul Krill reports on tools that support code quality.
Paul Krill,
January 2009
Year in Review: The Java tools roundup
As Agile techniques become more mainstream, tools for the software development lifecycle are adding new features and optimizations
to make developers happy. Find out what's new in build automation frameworks, testing tools, and IDEs, with this year-end
review from Java Power Tools author John Ferguson Smart.
John Ferguson Smart,
December 2008
Continuous integration with Hudson
Looking for a continuous integration server solution? Hudson is free and open source, and configuration is a snap. This article
gets you started with Hudson in a Windows or Linux environment using JBoss AS or Tomcat 6.
Nicholas Whitehead,
December 2008
TeamCity 4.0 released
TeamCity 4.0 is the latest released version of the JetBrains continuous integration server and automated build management
tool. Infoworld's Paul Krill reports on what's new in TeamCity 4.0.
Paul Krill,
December 2008
Automated code reviews with Checkstyle, Part 1
Smart teams use automated code reviews to find bugs and improve code quality. Get started with the source-code analyzer Checkstyle
and learn how to use its built-in rules along with your own custom checkers. See Part 2 for a tutorial on keeping faulty code
out of your code base.
ShriKant Vashishtha and Abhishek Gupta,
November 2008
Automated code reviews with Checkstyle, Part 2
You know how to use Checkstyle for automated code reviews, where it can identify code that doesn't meet your standards. Now
find out how to use Checkstyle's custom rules more proactively, to keep faulty code from ever being compiled or committed.
Examples are based on a custom Eclipse plugin and Subversion's pre-commit repository hooks.
ShriKant Vashishtha and Abhishek Gupta,
November 2008
Is unit testing doomed?
Andrew Binstock follows up his recent blog posts with a deeper inquiry into why fewer Java developers are unit testing code,
and why some may regret the decision later.
Andrew Binstock,
August 2008
Agitar testing product will write code
August 14, 2006—Agitar Software plans to ship a software testing product next year that will test a developer’s code and,
if necessary, automatically generate alternate bug-free and more efficient code, according to an executive of the company.
John Ribeiro
,
August 2006
Hand-rolled mocks made easy
Unit testing is something we all need to do, but getting good code
coverage can be a daunting task. In this article, Gary Tong focuses
on one of the basic elements of unit tests: mock objects. Using a
hybrid static/dynamic approach, he shows how flexible, useful mock
objects can be written in a matter of minutes.
Gary Tong,
July 2006