Quantcast
Channel: quality assurance – Beyond Java
Browsing all 14 articles
Browse latest View live

There is no accurate documentation of your code but your code itself

It’s a common misconception that every program needs documentation. Most people seem to be terribly scared by programs lacking documentation. Whenever I am asked where my documentation is, inevitably...

View Article



The JSF Code That’s Just a Bit Too Clever

Today I’ve been studying some lines of code that obviously should have done – well, they should have done nothing at all. I read the code, and judging from what I saw at first glance, the...

View Article

Ceylon’s Approach To Eliminate NullPointerExceptions

Maybe you’ve already heard of Ceylon. Ceylon’s a language initiated by Gavin King, the creator of both Hibernate and Seam. Putting it in a nutshell, Ceylon is an attempt to create a better version of...

View Article

You Don’t Seriously Want To Write Your JUnit Test in Groovy, Do You?

Why – yes, I do! This week we have visitors. We invited two experienced consultants to do a quick review of our source codes. Of course, we are very convinced to write good source code. In this we are...

View Article

Why “Eclipse Generates it Automatically” is a Bad Answer

A plead for conciseness I want my code to be simple, short and concise. I hate silly boiler plate code. Code that doesn’t add business value is code I don’t want to see. Welcome to the Java world....

View Article


Does Your Programming Language Influence Software Quality?

This morning Heise published an article I found exciting at first glance. They claim Python has a superior software quality. At second sight thing look a little different. According to the comments,...

View Article

How to Write Your Own SonarQube Plug-In

You already know SonarQube, I suppose? If you don’t, don’t waste your precious reading this article. You’d rather have a look at their live demo first. Nemo shows the result of SonarQube’s analysis of...

View Article

Use Exceptions. Use’em Wisely!

When it’s hailing exceptions The other day I’ve been reviewing another department’s code. Soon I was puzzled by the way they use exceptions. They used them very often and in unexpected ways. I examined...

View Article


Getting Started With Continuous Delivery

Basically, Continuous Delivery is simply a clever idea to make software development more simple, more reliable and more efficient. Sounds like simply tweaking the development process here and there,...

View Article


How to Use Mockito to Test JSF Components

There are two strategies to write JUnit test for JSF applications. The first strategy uses a tool like Arquillian to start both an application server and a browser that runs a JSF application. Yeray...

View Article

Cucumber Meets Selenium – How to Make Testing Web Applications Fun

Do you know anybody who loves to test their code? I don’t. Granted, there are those guys raving about the test first approach, but I always wonder which drugs they take. Maybe I’ve found the answer....

View Article

Selenium Dreams

Last week I’ve blogged about Cucumber and Selenium. In the meantime, my enthusiasm has cooled down considerably. I ran into a host of problems. Browsers simply aren’t intended to be controlled...

View Article

Why Sometimes Unit Tests do More Harm than Good?

I always wondered how to write truly efficient and useful unit tests. So I’m glad my co-worker Thomas Papendieck offered to write a guest article, sharing his expertise with you. Thomas, it’s your...

View Article


About Owls, Nightingales and Clean Code

Sigh! Today I’ve been wading knee-deep through all-to-clean code. Code that might have been written in a textbook. Code following the style – yeah, once I was young and naive enough to believe the...

View Article
Browsing all 14 articles
Browse latest View live




Latest Images