FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Development Tools
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
August 31, 2007
Codign Upgrades Testing Tools

Writing testable code is where it starts

Codign Software has upgraded its CoViewDeveloper and CoViewManager testing tools. According to Codign, the new release lets developers improve code testability with or without unit testing.

Codign's Joe Ponczak explained to Dr. Dobb's that, based on his experience, developers want to unit test, but often don't have time. The concept of code "testability", therefore, is to help developers write testable code, so that future bug fixing and refactoring efforts are easier. Ponczak went on to say that Codign's approach is unique in that Codign does not want to be the judge and jury on how testable someone's code is -- that's a role best left to developers. Consequently with Codign's plug-ins, developers can pick their metrics, thresholds, and severity levels. CoView can tell developers what methods/classes/packages exceed the thresholds in real time via syntax-like decorators, with the intent being that it is better to deal with these problems early on -- even if you don't unit test. This approach has proved particularly useful, said Ponczak, for junior-level programmers or offshore development teams.

For JUnit tests, CoView helps design and create the test cases by figuring out all the paths through a method. In theory, developers should have one test case per path. In reality, that is hard to accomplish in a reasonable amount of time. With CoView, says Ponczak, at least you can see your paths and unit test the ones you want. CoView provides wizards that either create most of the unit test, or in some circumstances, the entire unit test. You would then have to update the assertion to match the path.

CoView provides branch coverage and path coverage, and supports Eclipse, Junit, and JDK.

"The goal of any unit testing program is to better design, develop and deliver high quality, maintainable code," says Ponczak. "With the CoView family, organizations can easily and inexpensively improve code quality, help inexperienced developers code better, and gain insight in offshore development efforts."

TOP 5 ARTICLES
No Top Articles.
DR. DOBB'S CAREER CENTER
Looking for a new job? open | close
Search jobs on Dr. Dobb's TechCareers
Function:

Keyword(s):

State:  
  • Post Your Resume
  • Employers Area
  • News & Features
  • Blogs & Forums
  • Career Resources

    Browse By:
    Location | Employer | City
  • Most Recent Posts:



    MICROSITES
    FEATURED TOPIC

    ADDITIONAL TOPICS

    INFO-LINK



     




    Techweb
    Informationweek Business Technology Network
    InformationweekInformationweek 500Informationweek 500 ConferenceInformationweek AnalyticsInformationweek Events
    Informationweek MagazineGlobal CIOIWK Government ITbMightyByte and SwitchDark Reading
    Digital LibraryIntelligent EnterpriseInternet EvolutionNetwork ComputingPlug Into The CloudDr. DobbsContentinople
    space
    TechWeb Events Network
    InteropVoiceConWeb 2.0 ExpoWeb 2.0 SummitEnterprise 2.0Mobile Business ExpoNoJitter
    Black HatGTECEnergy CampCloud ConnectGov 2.0 ExpoGov 2.0 Summit
    space
    Light Reading Communications Network
    Light ReadingLight Reading AsiaUnstrungCable Digital NewsInternet EvolutionPyramid Research
    Heavy ReadingLight Reading LiveLight Reading InsiderEthrnet ExpoTelco TVTower Technology Summit
    space
    Financial Technology Network
    Advanced TradingBank Systems and TechnologyInsurance and TechnologyWall Street and TechnologyAccelerating WallstreetBST SummitBuyside Trading SummitIT Summit
    space
    Microsoft Technology Network
    MSDNTechNetTotal IT ProTotal Dev ProNET Total Dev Pro CommunitySQL Total Dev Pro Community
    space