My name is Adrian Smith.

I am a software developer, software architect and performance consultant. Originally from the UK, working in Vienna since 1998. These days I mainly work on web software using Java.

This is my blog, where I write about topics such as: software architecture, programming languages, databases and others.
(And, ocassionally, my life.)

Blogging since
Follow me: Facebook | Twitter | Email

Latest Post

Unit testing code that needs data in a databaseIf you write a method like "add product to user's cart", you want to test that that method works. That method may require state to exist e.g. in a database (e.g. that the user exists, to whose cart the product shall be added), and testing it automatically e.g. with JUnit may require querying the new state (e.g. that the product is now in the user's cart). You have these options: Read more...
More content: All posts | All categories
Proudly powered by Hugo, with a custom theme developed by myself