Dear all,
Time to move on to the next topic in Software Quality! Today, we’ll talk about stubs and clear up the myth between stubs and mock objects.
Stubs are commonly used a temporary gateway to tackle missing implementations. The question is how is this gateway being implemented. Many a times, people might as well just do an entire class to mock the entire functionality. Well… so is that a mock object or stub?
What are their differences?
Read on more to find out… Read the rest of this entry »
Dear all,
As promised, today we should be able to wrap up coverage completely and call it a day. Coverage has been a big topic as we all know and has so far taken up quite a few posts for the last few weeks.
Today we’re going to discuss the last coverage metric - Modified Condition Decision Coverage (MC/DC).
What’s so important about this coverage? Who should pay extra attention?
Let’s find out! Read the rest of this entry »
Hi all,
This week, I’ll continue to describe the last 2 types of coverage which falls under condition-based category. Just a recap, last week we’ve covered line-based and snippet-based categories of coverage.
Why didn’t I finish off the post by covering the last 2 coverage types? First of all, they’re significantly more important than the rest of the coverage types. Secondly, it’s not as straightforward as any of the coverage types.
To be specific, today I’ll just cover Simple Condition Coverage only due to the amount of explanations and materials required for the details. I’ll cover MC/DC next week. So, please bear with me till then.
So why are they so special? Read on…. Read the rest of this entry »
Hi all,
Today’s post came a little late. We’re going to talk about code coverage today. Code coverage is usually derived by either by unit testing or runtime application monitoring.
The reason for code coverage is to record codes that have been tested or executed.
By itself, it serves nothing more than a metric, a report or a form of measurement.
But based on coverage, there can be many signs and possible problems as well. So what are they? Read on… Read the rest of this entry »