Software Testing Articles: Load Testing, Unit Testing, Functional Testing, Performance Testing, Agile Testing, DevOps

Guidelines for Java Testable Design

February 13, 2012 3

Issues with testability in Java 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 the book “Effective Unit Testing – A guide for Java developers”, 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.

Do Unit Tests FIRST

February 9, 2012 0

Unit tests are useful and effective if you remember to make them FIRST. FIRST is an acronym for Fast, Isolated, Repeatable, Self-Verifying and Timely. Each of this points is discussed in the article with examples. The most important thing about unit tests is that they be useful and effective for your programming team. The FIRST mnemonic is a simple mechanism to guide you there.

Extend Rational Functional Tester with FlexMonkium

February 8, 2012 0

The FlexMonkium tools provide a consistent Flex application GUI object recognition solution with strong support for the constant Flash plug-in updates. With FlexMonkium, Flex recording and playback is seamlessly interleaved with native Selenium recording and playback. This article provides step-by-step instructions to make Rational Functional Tester works in combination with Selenium and FlexMonkium.

Test Automation Anecdotes

February 6, 2012 0

Software testing practitioners, managers and consultants provides in this article illuminating, educational and funny anecdotes about their experiences with test automation. The key points of each story are put in evidence.

Using Pex and Moles to Generate Unit Tests for WCF Service Calls

February 6, 2012 0

This article provides a detailed description on how use Pex and Moles to generate unit tests for a project having external dependency(WCF Proxy) using Visual Studio 2010 SP1. The Pex tool, which automatically generates test suites with high code coverage, will be used to generate unit tests. Moles allows to replace any .NET method with a delegate. They will be generated to isolate the external dependency (WCF proxy) and behavior will be redefined using delegates.

Reducing Rails Testing Time

January 31, 2012 0

In those days where software tests are integrated in continuous integration cycles, it is a necessity that they run in a minimized amount of time. This article explains how through controlled memory usage, increased parallelism, transactional factory invocation, pragmatically judicious test refactoring and a few miscellaneous extras, it was possible to reduce the time needed to run the tests of a ruby on rails application in continuous-integration environments by a factor of ten.

A Specifications-Based Mutation Engine for Testing Programs in C#

January 30, 2012 0

This article presents a simple and efficient engine which produces mutations of source code written in C# with helps testing it. The novelty of this engine is that it produces mutations that do not contradict with the specifications of the program. The latter are described by a set of pre- and post-conditions and invariants. The engine comprises two parts, a static analysis and syntactic verification component and a mutation generation component. Preliminary experiments showed that the proposed engine is more efficient than a simple mutations generator in terms of producing only valid mutations according to the specifications posed, thus saving time and effort during testing activities.

1 49 50 51 52 53 61