[13 Feb 2012 | 2 Comments | ]
Guidelines for Java Testable Design

Issues with testability boil down to our inability to write tests or the excess trouble we have to go through to get it done. In this article, based on chapter 7 of Unit Testing in Java, author Lasse Koskela shares a set of dos and don’ts for testable design. In the tips provided, he recommends to avoid complex private methods, static methods, logic in constructors and to favor composition over inheritance.

Read the full story »

Categories

Last items

 

[22 Feb 2012 | No Comment | ]

Unit testing is a difficult but essential activity to improve software quality and team velocity. This video presents the best practices to perform unit testing in a .NET context and with an agile approach.

[21 Feb 2012 | No Comment | ]

The open source JUnit unit testing tool has been a blessing for Java developers. However, many programmers think that it is enough to learn the JUnit API and write a few tests in order to have a well-tested application. This idea is more dangerous than not doing unit tests because it leads to a wrong sense of code quality. Learning JUnit is the easiest part of unit testing your Java code, but writing good tests is the hard part.

[20 Feb 2012 | No Comment | ]

Codeception is a Behavior Driven Development (BDD) testing PHP framework. It aims to provide an original way to write acceptance, functional and unit tests. It uses a scenario approach where you declare what you are doing and what results you expect from your tests. The first post introduces the tool and explains how to write tests with Codeception. A second post digs deeper into the code and shows you how Codeception could be used for unit testing.

[15 Feb 2012 | No Comment | ]

This article provides a process to integrate Test-Driven Development in the maintenance of a .NET application. You will first write the tests that will prove your new code gets the same results as the legacy code. Then you isolate new code into separate methods or classes that you can test independently. You break down the requirements into simple valid tests. Finally you check to see that you have not introduced a new bug. While you are doing this, let Visual Studio generate the utility code for you and find a …

[15 Feb 2012 | No Comment | ]

Parasoft Corporation introduced a new release of Parasoft SOAtest: a functional and performance testing solution that helps QA teams ensure secure, reliable, compliant business applications.

[15 Feb 2012 | No Comment | ]

Seapine Software announced the release of Seapine ALM 2012, its quality-centric application lifecycle management suite. Seapine ALM 2012 contains over 100 new features and enhancements that enhance traceability, support thorough application testing, and provide more control over managing projects.

[15 Feb 2012 | No Comment | ]

Rowan Miller shows how to replace a DbContext based data access layer with an in-memory fake for unit testing in this blog post. He builds an interface that represents the context and then builds an in-memory fake of that context for use in our unit tests. He uses an MVC controller but the same approach can be used with any component that needs to interact with an EF based context, including repositories. The key benefits of this approach are stable and robust tests that execute quickly and exercise a single …

[15 Feb 2012 | No Comment | ]

Apica, a leading load testing and performance-monitoring provider for cloud and mobile applications announced its next-generation Apica LoadTest portal, which is expected to be generally available in March 2012. Apica LoadTest 2, complete with Selenium integration, will allow users to easily pinpoint load capacity limits, eliminate web performance bottlenecks and get a true understanding of how a site will perform.

[14 Feb 2012 | One Comment | ]

This article discusses the traditional software testing aspects that should be changed before adopting Agile practices. Testing teams face a significant impediment when they have to unlearn the traditional practices.

[13 Feb 2012 | No Comment | ]

How do you do Test-Driven Development (TDD) with command-line tools? How does one make a failing test for a missing command-line option? This video answers these questions with some real-world examples.