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

A Set of Unit Testing Rules

February 17, 2011 0

A test is not a unit test if: * It talks to the database * It communicates across the network * It touches the file system * It can’t run at the same time as any of your other unit tests * You have to do special things to your environment (such as editing config files) to run it.

Automated Javascript Unit Testing with JsTestDriver

January 26, 2011 0

This blog post explores how to do unit testing of javascript using JsTestDriver. The goal of JsTestDriver is to build a JavaScript test runner which easily integrates with continuous builds systems and allows running tests on multiple browsers quickly to ease TDD style development.

Continuous Testing using AutoTest.Net

January 25, 2011 0

This blog post presents the AutoTest.Net tool to continuously test your .net code. AutoTest.NET is a tool for running your unit tests as soon as your save your files.

Converting JUnit Tests to TestNG

January 20, 2011 0

In this blog post, Cédric Beust describes the new TestNG features that allows to convert Java unit tests from JUnit 3 and JUnit 4 to TestNG.

State versus Interaction Testing

January 18, 2011 0

Mocking frameworks allow you to stub out behavior to perform tests of individual pieces of functionality. However, there are times when performing certain actions and assert a result is not sufficient. This video drills deep into unit testing and explains the differences between state and interaction–based testing. We will examine the role of stubs versus mocks and how to correctly write unit tests that are not fragile or counter–productive. Watch this streaming video from the Norwegian Developer Conference 2010

1 24 25 26 27