rafanoronha.speaking()

software development stuff

Archive for April, 2010

Database Integration Tests – considering it

without comments

This post is part of a series about Database Integration Tests:

Part 1: Database Integration Tests – considering it
Part 2: Database Integration Tests – understanding it
Part 3: Database Integration Tests – implementing it

The purpose of the series is to present you the concepts and implementation aspects related to this technique.

In this first part of the series, I want to expose some ideas that you should consider before deciding to go with Database Integration Tests.

Integration Testing is about the behavior of more than one software component

It’s important to note the differences between unit and integration tests.
An unit test should cover expectations around an isolated piece of software – commonly a class, thinking in an object-oriented software.

An integration test, on the other hand, should cover expectations over the interactions between different software or infrastructure components.

Database can be saw as entry and exit points

Relational databases tend to play a key role for enterprise software.
There are two important aspects in their interaction with the software:
The database owns the needed data by the software for performing a given task.
The database receives from the software the resulting data of a performed given task.

Recognizing the importance of this interaction is what should lead you to the use of this kind of integration testing.

Different testing strategies solve different problems

It’s crucial to understand that there is no single testing strategy guiding you to the quality assurance of your software.

Each testing strategy will help you in different ways:
You should go with unit testing when you need to assure the correctness of many business rules and also the quality of your code.
You should go with integration testing when you need to assure that your software as a whole is playing it’s role in the expected way.

This is the end of the first part of the series.
In the next parts, I’m going to talk about the understanding and implementation of Database Integration Tests.

Written by rafanoronha

April 19th, 2010 at 11:12 pm

Posted in Sem categoria

Tagged with

(Portuguese) How Computers Work – Review

with 2 comments

Sorry, this entry is only available in Portuguese.

Written by rafanoronha

April 10th, 2010 at 10:33 pm

Posted in Sem categoria

Tagged with

some thoughts on Pair Programming

without comments

View more presentations from rafanoronha.



“some thoughts on Pair Programming” is a talk that I created in the last month.

I presented it to my English teacher and found out that the material is interesting enough to be shared.
Good enough to leverage the big picture even to a non programmer public.

The purpose of this talk is to make the people think about the major aspects to consider when talking about the practice of Pair Programming.

Please let me know if you have interest in leveraging this message to your audience.

Written by rafanoronha

April 3rd, 2010 at 9:10 pm

Posted in Sem categoria

Tagged with