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

Single Transaction Unit Testing in SQL Server

April 19, 2012 0

Running your SQL Server database unit tests within the scope of a single transaction allows you to roll back any changes that the test enacted after the test ends. This article propose a step by step approach to achieve this goal. You start to create a transaction in your Transact-SQL test script that uses BEGIN TRANSACTION and ROLLBACK TRANSACTION. Then you will create a transaction for a single test method in a test class and then a transaction for all test methods in a given test class.

Introduction to Apex Code Test Methods

March 12, 2012 0

Unit tests are comprised of test methods and classes that verify whether a particular piece of code is working properly. This article introduces test methods in the salesforce.com environment. It details why test methods are a critical part of Force.com application development, test method syntax, best practices, and advanced topics such as test methods for Visualforce controllers and Apex web service callouts.

Integration and Unit Tests Separation with Maven and Sonar

March 12, 2012 0

This blog post explains how to separate integration and unit tests with Maven, Sonar, Failsafe and JaCoCo. This is achieved by executing unit tests via Surefire and integration tests via Failsafe. Then you  show as much information about them as possible in Sonar. The post provides detailed command lines and Maven configuration files to achieve this goal.

Easy Black-box testing with Robotium for Android

March 2, 2012 0

Learn how Robotium works with standard Android instrumentation tests, including details on how it can be used in real life. Robotium is a test framework created to make it easy to write powerful and robust automatic black-box test cases for Android applications. Test case developers can write function, system and acceptance test scenarios, spanning multiple Android activities.

Unit Testing in .NET

February 22, 2012 0

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.

1 16 17 18 19 20 26