BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Unit Testing Content on InfoQ

  • Debate about Testing and Recoverability: Object Oriented vs. Functional Programming Languages

    In his latest blog post, Michael Feathers argued that object oriented programming languages offer some built-in features that facilitate testing and are therefore more recovery friendly than functional languages. Proponents of functional languages expressed strong disagreement with this statement, which provoked a very passionate debate in the blog community.

  • Cockburn on Testing: Real Programmers have GUTs

    In a moment of relaxation, Alistair Cockburn had the insight that we may be quibbling over inconsequentialities: "test before" or "test after," what's important to professional programmers is Good Unit Tests. Eureka!

  • Presentation: Designing for Testability

    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.

  • The Future Of Functional Testing

    Jennitta Andrea & Ward Cunningham recently hosted a WebCast on 'Envisioning the Next Generation of Functional Test Tools'. Also, towards the end of last year Thoughtworks' announced its intention to release a next generation functional testing tool. InfoQ investigates the growing momentum for change in the area of functional testing and how the thought leaders in this area see it developing.

  • White: A New Windows UI Developer Testing Framework

    The White project is an automated testing framework for Win32, WinForm, WPF and SWT (java) applications. Use it in combination with your favorit xUnit framework just like WatiN to perform user acceptance testing.

  • TDD: Essential Skill or Architectural Landmine?

    At JAOO '07 Bob Martin asserted: "it is irresponsible for a developer to ship a line of code he has not executed in a unit test." In this InfoQ video, Martin debated with another well respected software thought leader, Jim Coplien, on this and other topics, including Design by Contract vs. TDD and how much up-front architecture is needed to keep a system consistent with the business domain model.

  • Interview and Book Excerpt: Hani Suleiman & Cedric Beust on TestNG

    InfoQ.com recently sat down with Hani Suleiman and Cédric Beust the authors of Next Generation Java Testing: TestNG and Advanced Concepts to discuss the book and their thoughts about testing in general. InfoQ is also pleased to offer an excerpt from chapter 2 of the book, "Mocks and Stubs".

  • Checking 1.8 vs 1.9 compatibility with Multiruby

    With Ruby 1.9 out, it's time to check libraries and applications for compatibility between these versions. We look at Multiruby, a utility that helps to track down changed behavior.

  • Boost your Java Test with Ruby and JtestR

    The ease of Ruby for scripting tasks makes it a very powerful candidate for writing your Test suites. Until recently there was no real standalone framework to test your Java with Ruby. JtestR, written by Ola Blini (a member of JRuby team) and Anda Abramovici, makes it possible now. Ruby coupled with powerful Ruby tools such as RSpec, mocha will make writing Java tests smoother.

  • Private Methods, Test Driven Development, and Good Design

    The claim has been made that test driven development (TDD) encourages good design. The claim has also been made that TDD adversely affects design. Focusing on private methods and their relationships to good design and testability will give us something concrete to discuss - an instance of this apparent conflict.

  • JSF Testing Tools

    Unit testing JSF applications has been considered difficult because of the constraints of testing JSF components outside the container. But this trend is changing with JSFUnit and other JSF test frameworks like Shale Test and JSF Extensions that support white-box testing approach to unit test both client and server components of the web application.

  • EviWare Releases v2.0 of soapUI, a Web Services Test Suite

    EviWare, an open source company recently released v2.0 of their soapUI product at JavaPolis 2007. The test suite is capable of tracking test coverage, perform test refactoring based on updated WSDLs and creating mockup services from previously recorded requests/responses .

  • Autotest - a hidden tool gem

    Autotest runs your tests whenever you save your files - actually, it's smarter than that. We take a look at how a tool like Autotest helps Ruby developers be productive without needing an IDE.

  • Does Dependency Injection pay off?

    There has been an interesting discussion in the blogosphere about the benefits or lack of benefits from using Dependency Injection. The question is — does Dependency Injection really pay off?

  • Article: Iterative, Automated and Continuous Performance

    A new InfoQ article looks at evaluating performance in an iterative and continuous manner.

BT