Posts Tagged: Basics

What is the difference between unit tests and integration tests?

This is secret unit testing tip #4. Want more? Register to the webinar. Many people who start out writing tests get hung out the semantic difference. What is a unit? When does a unit test ...

Read More

Unit Testing Principles

The following is a guest post from Ben Lakey, a software developer at MSNBC.com and reprinted with permission. Writing good unit tests is challenging. Over time I’ve accumulated a number of principles about what to ...

Read More

Free Typemock Webinar: Starting Unit Testing in C++ with Isolator++

Next Wednesday, January 26th, we’re going to have our monthly Typemock webinar. This time, we’ve moved the webinar a bit later, to 4pm CET/ 10am EST. In this webinar, Gil Zilberfeld will guide you through ...

Read More

Isolator++ 1.1 Released

Time for another release, And this one, has a few power punches. With the newly Introduced RET macro, Isolator can now fake a ref argument, actually returning it as the method returns. So if you ...

Read More

How-To: Running Custom Code With DoMemberFunctionInstead Clauses Using Isolator++

Isolator++ APIs make it easy to return custom values or objects. It’s really easy to return values or control behavior of one or more methods. But sometimes you want more than that: You want to ...

Read More

How-To: Asserting A Method Was Called With Isolator++

Many times, when we come to determine a test pass/fail criterion, we use some sort of ASSERT statement. ASSERT usually tests for state – checking on field values, to determine if that value is the ...

Read More

How-to: Changing Behavior of Static Methods with Isolator++

Isolator++ can change the behavior of methods very easily, without changing the original implementation. When you change the behavior of an instance or a static method, you can do that in different fashions. We have ...

Read More

Isolator++: Introduction

Isolator++ is the new isolation framework from Typemock. In C++ everything is harder, even unit testing, believe it or not. When people start doing unit tests, they run into the dependency problem. And this is ...

Read More

How to verify a method call on a dependency

Guest post by Lior Friedman. Interaction testing is a common type of unit testing. In this type of tests, one checks that a specific unit “interacts” with another way according to an agreed protocol, usually ...

Read More

Unit Tests vs. Integration Tests

Ayende has written a short and to the point post about Unit tests vs. Integration tests. An even shorter summery of the post is: Unit tests runs faster but integration tests are easier to write. ...

Read More
TOP