InfoQ Homepage Unit Testing Content on InfoQ
-
The Official RubySpec Website and Its Google Summer of Code Students
The RubySpec project aims to create a complete and executable specification for the Ruby language and recently got its own website. We also talked to two GSoC students who will help improve these specifications.
-
NUnit 2.5 Alpha released
NUnit one of the original .NET Unit Testing frameworks has just released its 2.5 Alpha. Altough there is only a minor version number change there are a significant number of new features, including: Support for Data Driven Tests, a Parallel Test Runner, ...
-
Interview: Cédric Beust Discusses Designing for Testability
In this interview from QCon San Francisco 2007, Cédric Beust discusses designing and architecting for testability, problems that hinder testability, test-driven development, the "Next Generation Testing" book, performance testing recipes, and testing small, medium and large codebases.
-
DbFit 1.0 With Enhanced Querying Capabilities and User Docs
Gojko Adzic has recently announced the version 1.0 release of DbFit, his popular FIT/FitNesse extension used for practicing TDD on database code.
-
Common Questions when Adopting TDD
If you are new to TDD you may be struggling with some common questions such as: How much upfront design should I tolerate? Or, when writing a test you have to build interfaces and some classes to get it to even compile - how far do you let that go?
-
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.