Home

Listing of current projects, achievements and my New Year's resolutions

kinow @ Dec 24, 2011 14:08:56 ()

Tis’ the end of 2011! Yay! Throughout this year I’ve heard people repeatedly saying that I had too much on my plate, and that I should quit some projects, stop giving talks, start surfing again amongst other things. Now, looking back, although I’m quite happy with my achievements in 2011, I can see their point.

In 2010 I started working as Software Quality Engineer with Anderson Santos. He was the greatest supporter of many of my ideas, so although we stopped working together in 2011, I’m still grateful to him for all he taught, for his advices and for spending some time guiding me.

He motivated me to start giving talks, going to more conferences and contributing more actively to Open Source projects. Since then, I’ve given almost 10 talks, including one in Belgium Testing Days, another one in Oracle JavaOne and in March next year I will be in America for a talk in STPCON. I also missed JCertif conference in Congo due to visa problems and learned some lessons from it (so sorry Max :)

( Read more ... )

TDC 2011 Goiânia

kinow @ Oct 31, 2011 13:20:33 ()

Here are the slides used in TDC 2011 - Goiânia. The same slides were used in the Testing and in the Java tracks, though with different titles. The only difference is the demo, that had more details in the latter track.

tdc_2011_goiania_ci by brunodepaulak

This was the last talk of the year, I have two more articles to go (MundoJ and STP) and then it will be time to practice slackline, surfing and dedicate some time to my family.

Have a great Halloween :-) Cheers

Practical test doubles: adding stubs to TestLink Java API

kinow @ Oct 23, 2011 22:10:02 ()

Test Double is a generic term for any case where you replace a production object for testing purposes” [1]. There are different types of Test Doubles: Dummy, Fake, Stubs, Spies and Mocks. In this post we will see a practical example of adding stubs to TestLink Java API.

Stubs are objects that return canned answers to calls during tests [1]. This is useful specially when you have a system that communicates with different resources such as databases, web services, XML-RPC services and so on.

TestLink Java API is a small Java project created to act as an interface between TestLink XML-RPC API and a client program written in Java.

( Read more ... )

Building Jenkins with Eclipse and m2e plug-in

kinow @ Sep 20, 2011 17:50:04 ()

Yesterday I finally managed to build Jenkins using Eclipse and m2e plug-in. With Eclipse Indigo release came a new version of the Maven plug-in for Eclipse (former M2Eclipse), m2e. Since I started using Eclipse Indigo and this new plug-in I hadn’t been able to build Jenkins in Eclipse anymore.

I’ve been having a terrible fever and thought that it would be a good thing to stop playing Minecraft for a while and find a way to build Jenkins in Eclipse + m2e :-).

1. Maven Plug-ins execution in project life cycle

The first thing I’ve noticed were the messages regarding the execution of some Maven plug-ins in the project life cycle. m2e delegates the execution of Maven plug-ins to an external executor. As not all Maven plug-ins have an existing executor for m2e you will receive a message similar to “Plugin execution not covered by lifecycle configuration: …”.

( Read more ... )

Missed JCertif

kinow @ Sep 07, 2011 00:36:11 ()

Unfortunately I missed JCertif last weekend. My visa was in Brazzaville but I couldn’t board in a flight from Johannesburg to Congo without it. Max Bonbhel kindly tried to fax me the visa, but the last flight to Congo closed and I had to come back to Brazil sooner. :-(

Here is the slides that I was going to use there. Hope you take some time to read about TAP, SubUnit and other test protocols. There are two special points to pay attention to, one single format and extensibility.

Jcertif 2011 Tap by brunodepaulak

With a single format for your test results, you won’t need to write many different parsers, one for each distinct format. Extensibility refers to the fact that using formats like xUnit (like JUnit) or TestNG XML you are limited to the XML schema.

Many projects are aiming automation in different levels. Executing automated tests can lead to situations where you need to have information like the database used, JDK version, screen shots taken during some tests, exception stack traces, etc. TAP and SubUnit provide manners to extend your test result and inform to a test consumer (the tool that reads your test output) about such information.

Cheers!