BT

Presentation: Designing for Testability

by Ryan Slobojan on Feb 29, 2008 | NOTICE: The next QCon is in San Francisco Nov 3-7, Join us!

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).

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

I can't see any thing in video :( by shao stone

FYI

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

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

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

There is material in this article?

Re: I can't see any thing in video :( 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.

TESTNG 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.

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

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

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

6 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT