Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Development
    • Development

    Agitator 2.0 Is a Worthy Assistant

    Written by

    Peter Coffee
    Published November 29, 2004
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      A programming aid should always shorten a programmers list of problems. Many tools fall short of that goal, merely replacing familiar coding tasks with the nuisance of instructing an intrusive, clumsy assistant. One welcome exception is Agitator 2.0, a capable and intuitive test environment for Java developers, delivered this month by Agitar Software Inc.

      Click here to read the full review of Agitator 2.0.

      2

      A programming aid should always shorten a programmers list of problems. Many tools fall short of that goal, merely replacing familiar coding tasks with the nuisance of instructing an intrusive, clumsy assistant. One welcome exception is Agitator 2.0, a capable and intuitive test environment for Java developers, delivered this month by Agitar Software Inc.

      eWEEK Labs reviewed the 2.0 version in its final form immediately prior to release. Agitator 2.0 is priced beginning at $50,000 for a 10-seat license, including one year of product support plus on-site training and mentoring.

      In a coders complex and constrained world, there are many potentially right things to do—but also a vastly greater number of wrong moves. This creates a perfect opportunity for automated assistance: The programmer can think about the purpose of the code and the common-sense characteristics of the problem while the machine can be unimaginative but thorough in asking “what-if” questions.

      To make the partnership work, the tool must be a capable but deferential sidekick, offering options and pointing out pitfalls but not imposing its own ideas. Thats the feeling we had when working with Agitator. The tap of the F9 key to “agitate” a file of Java code soon became an automatic habit, like the Ctrl-S that saves a file whenever the train of thought stops moving.

      Invoking Agitator triggered an impressively insightful series of automated tests, yielding informative cues for actions that we could take to make our code far more robust. Like a bright but ignorant apprentice, Agitator began by making accurate but somewhat idiotic observations—for example, that a particular variables value had never left the range between -100 and +100. These values had actually been inserted by Agitator, during multiple passes through our code, and bore no relevance to our problem; wed provided no clue as to what a reasonable input value would be, in the form of an assertion or a test that could throw an exception.

      We could, however, easily edit that uninteresting observation to reflect our knowledge of the problem—for example, by saying that a value should never be less than 0—and then check a box to say that this now-refined observation should thereafter be treated as an assertion.

      Re-agitating the code yielded a complaint that our new assertion was failing because we still had not done anything to constrain the input values. This follows the somewhat controversial doctrine of “test-first development,” in which every line of code is written to correct a problem identified by a test thats already been written and tried.

      Those who decry the test-first technique as cumbersome might change their Opinion after working with Agitator: It quickly became quite natural to write an assertion, confirm with a tap of the F9 key that our code wasnt honoring it, then add the necessary logic (such as an exception clause) to contain the problem.

      Notable during this process was Agitators automatic scrutiny of each new boundary condition that we introduced—rather like a tenacious if ignorant assistant muttering, “I dont know why this boundary matters, but Im going to make sure its observed.”

      Agitators coverage analysis revealed other errors. For example, an exception clause that was never triggered turned out to contain a logically impossible statement, making it useless as protection of our process.

      We tested Agitator on Windows 2000 and appreciated the full integration with the Eclipse Foundations Eclipse development environment thats new to the 2.0 release. Complex J2EE (Java 2 Platform, Enterprise Edition) projects will benefit from Version 2.0s added depth and rigor in generating mock objects to exercise Enterprise JavaBeans or Struts interfaces; large development teams will also want to evaluate the companion Management Dashboard product from Agitar, which monitors testing and focuses attention on high-risk modules.

      Technology Editor Peter Coffee can be reached at [email protected].

      Check out eWEEK.coms for the latest news, reviews and analysis in programming environments and developer tools.

      Peter Coffee
      Peter Coffee
      Peter Coffee is Director of Platform Research at salesforce.com, where he serves as a liaison with the developer community to define the opportunity and clarify developers' technical requirements on the company's evolving Apex Platform. Peter previously spent 18 years with eWEEK (formerly PC Week), the national news magazine of enterprise technology practice, where he reviewed software development tools and methods and wrote regular columns on emerging technologies and professional community issues.Before he began writing full-time in 1989, Peter spent eleven years in technical and management positions at Exxon and The Aerospace Corporation, including management of the latter company's first desktop computing planning team and applied research in applications of artificial intelligence techniques. He holds an engineering degree from MIT and an MBA from Pepperdine University, he has held teaching appointments in computer science, business analytics and information systems management at Pepperdine, UCLA, and Chapman College.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.