InfoQ

News

Presentation: Designing for Testability

Posted by Ryan Slobojan on Feb 29, 2008 11:45 PM

Community
Java
Topics
Software Testing,
Unit Testing
Tags
QCon San Francisco 2007,
TDD,
TestNG,
QCon

In this presentation from QCon San Francisco 2007, Cedric Beust and Alexandru Popescu discuss interesting features of TestNG such as grouping of tests, data providers for tests and dependency handling in tests, tips for designing easily testable code such as eliminating statics, extreme encapsulation and TDD, the importance of functional versus unit testing, and migrating from JUnit to TestNG.

Watch Designing for Testability (53 minutes).

6 comments

Reply

I can't see any thing in video :( by stone shao Posted Mar 1, 2008 12:36 AM
Re: I can't see any thing in video :( by Floyd Marinescu Posted Mar 2, 2008 3:07 PM
Re: I can't see any thing in video :( by hugo filho Posted Mar 4, 2008 7:54 AM
Re: I can't see any thing in video :( by CENK CIVICI Posted Mar 7, 2008 6:18 PM
Re: I can't see any thing in video :( by aaron yu Posted Mar 18, 2008 10:09 PM
TESTNG by CENK CIVICI Posted Mar 7, 2008 6:20 PM
  1. Back to top

    I can't see any thing in video :(

    Mar 1, 2008 12:36 AM by stone shao

    FYI

  2. Back to top

    Re: I can't see any thing in video :(

    Mar 2, 2008 3:07 PM by Floyd Marinescu

    You must disable any plugins that may be blocking flash programs.

  3. Back to top

    Re: I can't see any thing in video :(

    Mar 4, 2008 7:54 AM by hugo filho

    There is material in this article?

  4. Back to top

    Re: I can't see any thing in video :(

    Mar 7, 2008 6:18 PM by CENK CIVICI

    TDD leads to testable code by thinking tests first. That way you dont mess up code with static couplings, variables etc but Cedric instead talks against TDD and recommends write code first and and then change it to be testable when you start writing your test.

  5. Back to top

    TESTNG

    Mar 7, 2008 6:20 PM by CENK CIVICI

    I find TESTNG useful for functional testing tools like tests in the ui level using tools like Selenium where Dependent methods might be useful. But I dont think it is a very bad practice to have dependent tests in isolated focused unit tests.

  6. Back to top

    Re: I can't see any thing in video :(

    Mar 18, 2008 10:09 PM by aaron yu

    Yes, something wrong? I can't see it.

Exclusive Content

Rationalizing the Presentation Tier

Thin client paradigm characterized by web applications is a kludge that needs to be repudiated. Old compromises are no longer needed and it's time to move the presentation tier to where it belongs.

Agile Project Management: Lessons Learned at Google

In this presentation filmed during QCon 2007, Jeff Sutherland, the creator of Scrum, talks about his visit at Google to do an analysis of Google's first implementation of Scrum.

AtomServer – The Power of Publishing for Data Distribution

In this article, Bryon Jacob and Chris Berry introduce AtomServer, their implementation of a full-fledged Atom Store based on Apache Abdera, which is now available as open source.

An Introduction to Virtualization

It is easy to think that virtualization applies only to servers. In reality the recent resurgence of the concept is also being applied to networking, storage, and application infrastructure.

REST Anti-Patterns

In this article, Stefan Tilkov explains some of the most common anti-patterns found in applications that claim to follow a "RESTful" design and suggests ways to avoid them.

Choosing between Routing and Orchestration in an ESB

In this article, Adrien Louis and Marc Dutoo discuss the differences and relative merits of using orchestration vs. routing in a typical ESB setup, and discuss various implementation options.

Enterprise Batch Processing with Spring

Wayne Lund discusses batch processing, Spring Batch objectives and features, scenarios for usage, Spring Batch architecture, scaling, example code, failures and retrying, and the future roadmap.

User Story Estimation Techniques

Developer Jay Fields draws on his experiences as a ThoughtWorks consultant to describe effective user story estimation techniques.