Testing Google Guava EventBus

Recently I have used Google Guava EventBus in one of my projects. It worked pretty well but testing it was kind of a challenge.

If you are not familiar with the EventBus you can learn more about it here.

 

Drowning in the Sweetness of Java 8 Streams

Ok, so this is a rant. You won't learn anything about Java 8 Streams here. Sorry. This blog post is meant to express my frustration. It's flowing from my mind via keyboard to this blog post. I can't stop it. Sorry!

 

Geecon 2014 - Custom Assertions talk - slides

Slides from my recent talk at Geecon 2014. It was a 15-minutes "lightning talk". Enjoy!

 

Intellij Idea + AsciiDoctor

For one of my projects I write documentation using AsciiDoc. Sometimes I use IntelliJ Idea for this. Up till now, Idea used to treat AsciiDoc files (which I usually name with .adoc extension) as normal txt files. Yesterday, when I opened one of my AsciiDoc files in Idea, I was very surprised to learn that there is a plugin which can help me with the edition of such file. I installed it, and... well, I'm excited to tell you it works very good!

 

4 Cool Online Tools

It amazes me how many great tools you can find on the web! In this post I describe 4 of them. I hope you find them useful.

 

REST Testing MindMap

1000 words about testing of REST. Nothing impressive, simply a dump of my thought regarding this subject.

 

HavaRunner, TestNG Reports and TDD Katas

Recently I've spent some time browsing the Net and learned about some new stuff ("new" meaning "new to me") that I would like to share with you. Let us have a look at HavaRunner, some nice TestNG reports, and TDD Katas.

 

Avoid Unnecessary Builds with Jenkins, Maven and SVN

Sooner or later your CI server will became very busy, and your frustration will grow because of increasing wait time for each build. One thing you can do to improve the situation is to avoid running jobs when there is no need to do so.

I use Jenkins + Maven + SVN in this example, but you can use this "tricks" also when using different technologies - Gradle, Git etc.

 

Bad Tests, Good Tests - new book available!

I'm happy to announce the arrival of my new book! :) It is called "Bad Tests, Good Tests" and is all about writing high-quality tests.

 

Bad Tests, Good Tests - it is coming!

I can't remember when it started but since some time I was collecting "interesting" pieces of test code. By "interesting" I mean the ones that could be well improved. After some time I noticed there are some (anti)patterns, some typical bugs, or rather imperfections which I observe frequently when reviewing test code.

I try to write my tests so they fulfil some basic requirements. They should verify some important part of the system. They should survive refactorings. They should be readable, clear and concise, so you can read them like documentation. They should be fast.

 
Syndicate content