Unit Testing Cheat Sheet

September 19, 2012 2

Andrew Hunt and David Thomas have produced a nice Unit Testing Cheat Sheet (PDF document) based on the unit testing principles introduced in their book Pragmatic Unit Testing in Java. This document contains the Right-BICEP hint to determine what to test, the A-TRIP acronym that help remembering the properties of good tests and the CORRECT approach to assess boundary conditions in software testing.

Fakes: Isolating Unit Tests

September 12, 2012 0

Replace any .NET method with your own delegate! “Fakes” is a new framework in Visual Studio 11 for test stubs and detours in .NET. Fakes may be used to detour any .NET method, even in tough situations like static methods, non-virtual methods, private methods, constructors, etc… If you’ve been a user of Moles, Fakes is a lot like Moles but different so come and learn about the changes coming ahead too.

JavaScript Unit Testing with QUnit and JS Test Driver in Eclipse

September 12, 2012 0

Bradley Braithwaite shares in his blog a step by step process to perform JavaScript unit testing in the Eclipse IDE with QUnit and JS Test Driver. QUnit is a powerful, easy-to-use, JavaScript test suite. It’s used by the jQuery project to test its code and plugins but is capable of testing any generic JavaScript. The goal of Js Test Driver is to build a JavaScript test runner that easily integrates with continuous builds systems and allows running tests on multiple browsers quickly to ease TDD style development. Starting from the opening of the Eclipse IDE to writing the tests, everything is explained with code examples. Bradley adds also at the end some productivity improvement tips like code template or avoiding the browser. He also recommends using a tool like JSLint or JSHint to manage code quality. JSLitmus is recommended to profile JavaScript code for performance tuning.

Integrating an External Code Checker in Eclipse

September 11, 2012 0

Codan is a code analysis framework that performs code checks on C/C++ projects. It is part of the Eclipse CDT (C/C++ Development Tooling) suite since 2011. Codan was updated with the Eclipse Juno release in June 2012 to enable developers to automatically execute external code analysis tools within Eclipse. In this article, Alex Ruiz explains why the update is good news for users of Eclipse CDT, then shows you how to use Java code and a little bit of XML to quickly integrate your favorite code checker into your Eclipse C/C++ development environment, using Cppcheck as an example. The article provides a detailed step by step process to achieve this goal that requires just about 100 lines of simple Java code and 30 lines of XML.

Managing Exploratory Software Testing

September 10, 2012 1

Learn the pros and cons of typical ways that teams manage exploratory testing, from stealth work and bug hunts through to spread bets and timeboxing. This video also explores some possible alternatives, taking inspiration from machine learning, lean approaches and from other industries who find value in exploration.

Lessons Learned: Lint and Javascript

September 5, 2012 0

Many JavaScript implementations do not warn against questionable coding practices which is a nightmare when you actually want to write quality, maintainable code. That’s where JavaScript Lint comes in. With JavaScript Lint, you can check all your JavaScript source code for common mistakes without actually running the script or opening the web page. This video takes a concise look at what Lint is, how to use it, and how to incorporate it into your automated build.

How Google Tests Software by James Whittaker

September 3, 2012 2

James Whittaker is a former engineering director at Google and has been responsible for testing Chrome, Google Maps and Google Web Apps. In this book written with Jason Arbon and Jeff Carollo, he describes how Google organizes its software testing process. The Google software testing organization that has three roles: Software Engineer in Test (SET), Test Engineer (TE), Test Engineering Manager.

1 126 127 128 129 130 172