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

Making Unit Testing Mistakes as a Junior Developer

November 17, 2014 0

Writing unit tests is easy in theory but could be more difficult in practice. Usually experience helps in getting better at unit testing. In this blog post, Patroklos Papapetrou shares some of his experience in writing Java unit tests.

Pragmatic Unit Testing in C++

November 3, 2014 0

Successful adoption of unit testing in C++ goes beyond picking a framework: The effectiveness of unit testing is dependent on run-time analysis, static analysis, and other tools to make up the “iron triangle” necessary to get profitable increases in feature velocity and MTBF in the field.

Unit Testing with Microsoft Fakes

October 24, 2014 0

Creating good, effective unit tests in .NET can be harder than it seems. In some cases, the code is designed so that isolating one component from another is easy. However, in most other cases, achieving this isolation is very difficult. First included in Visual Studio 2012, Microsoft Fakes helps you cross this gap.

Introduction to Unit Testing with JUnit

September 24, 2014 0

Unit testing is a basic software testing activity that should be performed by every software developer. This handout produced by the Computer Science department of Stanford University introduces the ideas of unit testing and provides some examples on how to do it with JUnit in Eclipse.

Achieving Self-Testing Code

September 8, 2014 1

Self-testing code, or code that can evaluate its own health and tell you if it has problems, is the goal of many software teams who spend effort in testing. How can you achieve this goal? Learn the team practices, the types and amount of tests you need in your repertoire, and technical practices to help you get closer to it.

Strict Test-Driven Development

June 10, 2014 1

Agile testing and test automation are almost mandatory for projects that demand high quality as well as short release cycles like Scrum. It acts as a safety net in order to protect existing functionality against bugs resulting from unintended side-effects of recent changes. Software developers “in the trenches” often automate their tests but don’t practice strict Test-Driven Development (TDD).

Preventing Unit Testing Success

May 20, 2014 0

If unit testing has not always been adopted by software developers, this practice has become more mainstream with Agile approaches. Test-Driven Development and Continuous Integration are two technical approaches that require good unit testing. In this blog post, Maxime Lemaitre discusses attitudes that might make your unit testing fail.

1 5 6 7 8 9 26