InfoQ

Presentation

Recorded at:
Recorded at

Designing for Testability

Presented by Cedric Beust and Alexandru Popescu on Feb 28, 2008

Community
Java
Topics
Unit Testing ,
Software Testing
Tags
TDD ,
QCon San Francisco 2007 ,
QCon ,
TestNG
The next QCon is in London Mar 10-12, Join us!
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.
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.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.