Blog Taxonomy

Home

Maven site tips: Maven Fluido Skin and Javadoc class diagrams

kinow @ Apr 06, 2012 21:01:52 ()

I have been using Maven sites for a while, and am very happy with it. I didn’t like to have to update my projects after Maven 3, but that was all right, Maven 3 brought many new cool things. However, there were two things that annoyed me: lack of a nice and modern skin, and browsing Javadoc of complex code. The thought of creating a custom Maven skin even crossed my mind, but I never had time to read about it.

But the world is full of good and talented people! Like the guys from 99soft. They created Maven Fluido Skin, and donated it to Apache Software Foundation. It’s built on top of Twitter’s Bootstrap and available from Maven central repository. In order to use it in your Maven project, all that you have to do is add the following settings into your src/site/site.xml:

<skin>
    <groupId>org.apache.maven.skins</groupId>
    <artifactId>maven-fluido-skin</artifactId>
    <version>1.2.1</version>
</skin>

Here’s a list of some projects using Maven Fluido Skin (hopefully, in the near future Apache Commons and other projects will adopt this skin as default too :-)):

( Read more ... )

Ranges in Apache Commons Functor

kinow @ Jan 22, 2012 19:54:36 ()

This is a long post. So here is a TL;DR:

  • Apache Commons Functor has no Double or Float Range (yet)
  • Apache Commons Functor IntegerRange and LongRange treat the low value as inclusive, and the high value as exclusive. How does that compare to other languages/APIs? (you will have to read to see some comparison)
  • Perl has support for characters ranges, perhaps we could implement it in Functor too?
  • In case we implemented a CharacterRange, it would have to be inclusive for both low and high limits. With ‘z’ being the last character, there wouldn’t have a way to include Z with the current approach. Or we would have to make the CharacterRange a special one. What would go against Liskov Substitution Principle.
  • You can see a comparison table with Apache Commons Functor, other Java API’s and other programming languages for ranges clicking here.
  • It would be nice to have a clear distinction in Functor documentation among a Sequence, a Generator and a Range. While I was gathering material for this post, I found places using range, others using sequence, and in Apache Commons Functor, an IntegerRange is a Generator.
Now, if you have some spare time or curiosity, keep reading :-)

( Read more ... )

Testing shell code and producing TAP using Jenkins?

kinow @ Dec 30, 2011 22:41:40 ()

Definitely reading Hacker News before going to bed is a bad idea :-) Same goes for Reddit. So, I found a link about Bats, a tool to execute tests in Shell and output TAP - Test Anything Protocol. Then I thought; why not ask the author to include Bats under the list of Producers in testanything.org?

But you know what? Why not execute execute locally first to check if that’s working… moreover, why not use Jenkins TAP Plug-in and see what happens?

Here’s what is necessary.

( Read more ... )

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