Using personas in software testing

Meet ‘grandmother’ Wilhelmina Petronella van der Linden-Zaagsma. Born on a leap day (February 29, 1928), she was bound to become a very special lady. She is a loving and caring person and especially freehanded. She visits her notary frequently to include new charities to her ever growing will. She lives in a sheltered housing apartment in Arnhem, is a widow to the late Titus van der Linden and has two children, as well as a couple of grandchildren.

Continue reading

Why you should use BrowserSync

We use Grunt with LiveReload and it is a serious productivity booster having your browser reload when you change some css or javascript, especially since we have pretty big screens. LiveReload is pretty easy to configure but it is always a bit of hassle, you have to include a little html snippet in your body or install a browser plugin which connects to the socket and then livereloads.

Today I found a new competitor for livereload, it’s called BrowserSync. BrowserSync is also capable of live reloading your website, but it’s not constrained to one browser or even one device!

Continue reading

Construct your test objects safely and easily

I am currently working on an application that has very high test coverage, which usually means applying changes is a safe and relatively easy task. Still, I felt that I was losing a disproportional amount of time fixing unit tests that failed after a change. We all know frustration is one of the best drivers of improvement; when I was facing another round of unit test fixing I created a more future proof solution instead.

Continue reading

Testing your GigaSpaces XAP application

Very often when I deliver a GigaSpaces training I get asked “I like the technology, but how would you recommend we test our XAP application?”. This happened most recently during the GigaSpaces XAP Advanced training I held in Kiev.
So I thought it would be a good idea to answer that question through this article so that everyone can benefit from it.
Continue reading

Mitchel Kuijpers on testing frameworks

A couple of interns started work at Avisi recently. Everyone of them is working on an interesting assignment. We will introduce them in the coming weeks on the blog. Today we are featuring Mitchel Kuijpers. Our testing framework is based on Selenium/webdriver and uses SauceLabs for execution. It’s a typical code first solution. Mitchel’s job is to transform it to a behavior driven framework. Continue reading

Consistent performance testing with Oracle, is it possible?

Ever wanted to improve a badly performing Oracle 11 database, or parts of it? How would you know for sure the performance improved for end users?

An Oracle database is a complex entity. It has all sorts of mechanisms to improve and optimize performance, like caching results, creating and caching execution plans, caching dictionaries, etc. When measuring query times, often the first attempt will take several seconds, while next attempts only takes a few milliseconds. That is because Oracle caches almost everything during that first attempt. In the real world though, where databases are under heavy use, caches expire. Performance is based upon first and second attempts together. This means, the more diversified the queries, the less advantage you get from caching.

Continue reading

Hard Tokens – A Brief Update

For almost a year now I’ve been testing a Yubikey hard token. Basically, it’s USB-key that adds strong two factor authentication to the process of logging in to my computer. You can check out my previous blog post on exploring hard tokens and the need for better identity management.

Now it’s time to update you on my experiences thus far…

Testing with Selenium & Saucelabs

A very important part of our software development cycle is functional testing. Luckily, functional testing techniques have evolved tremendously since the dark days of old school testing. Back then, testing was done with countless Excel sheets each having multiple tabs that reflected all the individual scenarios. Each tab looked a bit like this:

  1. Goto web-page: http://myincredibletestproject.com
  2. Click on the login link
  3. Enter username: test
  4. Enter password: secret
  5. Click login button
  6. Verify response: “Failed to login. Invalid credentials.”

Continue reading

Stress Test Lessons from the Banking Industry

Our international economic system is highly dependent on the stability and quality of numerous individual banks. In Europe the main banks are submitted to so-called ‘banking stress test exercises‘ every year since 2009. Banks must take part in the stress test if they are deemed to have a measurable impact on the economic system as whole.

We software engineers perform testing duties on a daily basis. And every project we work on will be tested, regardless of their size and complexity. For some projects we choose a risk-based approach and for a few of them we will (can) choose a 100% coverage approach.

Continue reading