InfoQ

Presentation

Recorded at:
Recorded at

Designing for Testability

Posted by Cedric Beust and Alexandru Popescu on Feb 28, 2008 09:00 AM

Community
Java
Topics
Software Testing,
Unit Testing
Tags
QCon San Francisco 2007,
TDD,
TestNG,
QCon
Summary
In this presentation from QCon San Francisco, 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.

Bio
Cédric Beust is the co-founder of the TestNG framewwork, is a senior software engineer at Google, and holds a PhD in computer science. Alexandru Popescu is Chief-Architect of InfoQ.com, and is co-founder of the TestNG Framework and a committer on the WebWork and Magnolia projects.

About the conference
QCon is a conference that is organized by the community, for the community.The result is a high quality conference experience where a tremendous amount of attention and investment has gone into having the best content on the most important topics presented by the leaders in our community.QCon is designed with the technical depth and enterprise focus of interest to technical team leads, architects, and project managers.

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

Typemock: Past, Present and Future

Eli Lopian of Typemock answers a few questions on Typemock origins and where Typemock is headed.

Agile in Practice: What Is Actually Going On Out There?

Scott Ambler talks about actual data resulting from surveys made during 2006-2008, showing how Agile is perceived and implemented within organizations.

Building Smart Windows Applications

From QCon 2008, Daniel Moth presents on using Visual Studio 2008 and .NET 3.5 to create compelling rich Windows applications.

Joshua Kerievsky about Industrial XP

Joshua Kerievsky, founder of Industrial Logic, talks about Industrial Extreme Programming which extends XP by including practices dealing with management, customers and developers.

Jeff Barr Discusses Amazon Web Services

Amazon Web Services (AWS) Evangelist Jeff Barr discusses SimpleDB, S3, EC2, SQS, cloud computing, how different Amazon services interact, origins of AWS, AWS globalization and the March AWS outage.

More Than Just Spin (Up) : Virtualization for the Enterprise and SaaS

Cloud services have helped bring virtualization to the forefront. Its full power however, also includes other benefits such as high availability, disaster recovery, and rapid provisioning.

Ruby Beyond Rails

John Lam talks about his path to dynamic languages, some of the problems of making IronRuby run fast, and how the DLR helps with implementing languages.

VMware Infrastructure 3 Book Excerpt and Author Interview

VMware Infrastructure 3: Advanced Technical Design Guide and Advanced Operations Guide provides a wealth of practical insights into setting up virtualization in todays corporate environments.