Monday, September 28, 2009

Advanced Software Testing using Simulation

The famous quote from Donald E. Knuth could be an interesting opening for this blog post. Unfortunately, the practice is overly cliché and would most likely dilute further the initial meaning of its author. Software testing remains a practical approach to proof softwares, whether it is manual or automated testing, whereas mathematical proofs are the theoretical approach.

Simulation can be useful to bring software testing a step further by simulating a user, or multiple users, performing a series of tasks through the software to be tested, with or without meaningful actions, but always within a certain set of parameters.

We are currently working on such simulation system. Each scenario is a compound based on a sequence of user inputs, which are collected and stored into a database. Most scenarios developed in software testing are usually based on a normal usage in order to prove the software works as intended. The existing scenarios will be subsequently mutated multiple times using probabilities, that is, the likelihood such or such user input can occur, similarly as in a Monte Carlo Simulation. Scenarios are also constructed from scratch using statistical sampling, where the value of a certain user input in a given context might or might not have a greater weight in its probability to be triggered.

The simulation system runs multiple scenarios simultaneously against multiple instances of the software during its entire development cycle on a dedicated server, on a 24/7 basis, and reports failed scenarios accordingly. The failed scenarios are then ran step-by-step by the software engineers so as to catch and correct defects.

Technologies are sometimes surprising and exciting...

Tuesday, September 15, 2009

Life has been much more peaceful lately, which is a good thing. My attention is fully focused on my other on-going projects but also learning Norwegian. I spend an average of one hour a day when I learn a new language. It can be more depending on the necessity of learning the language.

I have been spending an increasing number of hours learning Norwegian. Learning sessions are organized among learning the written and spoken language.

I have acquired "Norvégien Sans Peine" (Norwegian With Ease) from Assimil. Assimil publishes many language learning books and I have bought about 10 of them throughout the years. Their method is certainly not the best if only for being overly passive but when you are used to the formulae, it comes as easy as it gets and one can learn quickly.

Internet is also a great source of learning in that respect. I have managed to watch TV series on the web, offered at no cost, such as "330 Skvadronen" and "Hellstrøm rydder opp".

There are people who believe that learning a language should be undertaken with courses, books, audio, and so many other so-called tools. Some of them pour a fortune in this! My approach? A small book + a plane ticket.

The secret is really in the effort you are willing to put in to learn...

Friday, September 04, 2009

Bokmål

Jeg lærer norsk. Ingen nordmenn her? Skriv meg en epost eller en kommentar.