Tutorials and resources on how to apply unit testing in software testing

Automated Software Testing With Xcode

September 9, 2013 0

Xcode is the complete toolset developed by Apple for building Mac apps and iOS apps. In these two part article, Charlie Fulton proposes a tutorial to start performing unit tests for apps developed with Xcode in a continuous integration context.

Simple JavaScript Testing with QUnit

August 28, 2013 0

In an exploration of the best tools to perform unit testing on JavaScript code, Matthew Setter explores how QUnit can perform this task. QUnit is an open source JavaScript unit testing framework that is used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code.

Unit Testing for the .NET Micro Framework

August 26, 2013 0

The .NET Micro Framework (NETMF) is an open source .NET platform for resource-constrained devices. It supports development in C#, Visual Basic .NET, and debugging (in an emulator or on hardware) using Microsoft Visual Studio. In this blog post, Mark Nichols explains how to perform unit testing for the .NET Micro Framework.

Using Mocks and Stubs in PHPUnit

August 19, 2013 2

In my previous column PHP Unit Testing with PHPUnit,I showed how to set up PHPUnit and how to run a few simple tests. You should be able to test any function or method now that doesn’t rely on making calls out to other methods or functions – which is of course very few, as most applications are a complex combination of methods and, in PHP’s case, functions.

Using Pex and Microsoft Code Digger

June 27, 2013 0

Pex is a Visual Studio 2010 Power Tools that help Unit Testing .NET applications. Pex automatically generates test suites with high code coverage. Right from the Visual Studio code editor, Pex finds interesting input-output values of your methods, which you can save as a small test suite with high code coverage. Microsoft Code Digger is a Visual Studio 2012 that analyzes possible execution paths through your .NET code. The result is a table where each row shows a unique behavior of your code. The table helps you understand the behavior of the code, and it may also uncover hidden bugs.

Unit Testing JavaScript with Venus.js

June 18, 2013 0

Venus.js in an open source software testing tool developed by LinkedIn that allows you to organize and run your entire JS testing system with a single tool using Node.js. Venus eliminates repetitive tasks and friction points and lets you focus on writing tests instead of running them.

Using Mock Objects in C#

June 3, 2013 0

When you need to perform unit testing in an independent way, you use mock objects. Mock objects are simulated objects that mimic the behavior of real objects in controlled ways. In this excerpt of their book “Pragmatic Unit Testing in C# with NUnit”, Andy Hunt, Dave Thomas and Matt Hargett explain how to avoid coupling when you build your C# unit tests.

1 9 10 11 12 13 26