Converting JUnit Tests to TestNG

January 20, 2011 0

In this blog post, Cédric Beust describes the new TestNG features that allows to convert Java unit tests from JUnit 3 and JUnit 4 to TestNG.

The TDD Apostate

January 18, 2011 0

In this post, Mark Seemann discusses the Test-Driven Development or Test-Driven Design meanings of TDD and reaches the conclusion that TDD is not a good design methodology.

State versus Interaction Testing

January 18, 2011 0

Mocking frameworks allow you to stub out behavior to perform tests of individual pieces of functionality. However, there are times when performing certain actions and assert a result is not sufficient. This video drills deep into unit testing and explains the differences between state and interaction–based testing. We will examine the role of stubs versus mocks and how to correctly write unit tests that are not fragile or counter–productive. Watch this streaming video from the Norwegian Developer Conference 2010

1 159 160 161 162 163 171