Samstag, 24. September 2011

Seitenbau Developer Convention 2011 - Getting started with Scala

A week ends now the SDC = Seitenbau Developer Convention is over. Was a cool event again learned a lot about web development html5 with boilerplate, CouchDB, oAuth2, Android development, Gerrit and Skali.

Together with Dennis, I told a bit about the Scala language. Here are the slides of this Scala session


More about the SDC can be found here (there is also an android app in the android market)
https://www.seitenbau.com/sdc/timetable

Getting started with OSGi using a 3D OSGi Robot at OSGi Community Event 2011

The OSGi Community Event 2011 in Darmstadt was a really cool OSGi conference at all. Thanks for the organizationof this nice Event and the lots of new ideas, comments and inputs from all the participants.

Here the slides of Jochen and my Mars Robot session.

And here the slides from the session about the Platform O.N.E.


More information’s about the sessions and also the slides can be found here
http://www.osgi.org/CommunityEvent2011/Agenda

Sonntag, 31. Juli 2011

JMock HasProperty Expectations

Took me a while to define JMock expectations which verifies that a argument of mocked method has a defined set of properties with values.

Here my JMock based JUnit test:


Is there no better way to do this in JMock?

Donnerstag, 16. Juni 2011

Top 10 Software Engineering Books – Must Read

Today I gave a lighting talk at SEITENBAU, about my favorite top ten software engineering books. Here my top ten list of books, which every developer should read:

#1 - Andrew Hunt, David Thomas - The Pragmatic Programmer - From Journeyman to Master

#2 - Erich Gamma, Richard Helm, Ralph E. Johnson, John Vlissides - Design Patterns

#3 - Martin Fowler - Refactoring -Improving the Design of Existing Code

#4 - Eric Evans - Domain Driven Design

#5 - Kent Beck - Test Driven Development by Example

#6 - Alistair Cockburn - Writing Effective Use Cases

#7 - Scott Berkun - The Art of Project Management

#8 - Martin Fowler - Patterns of Enterprise Application Architecture

#9 - Joshua Bloch - Effective Java

#10 - Gerard Meszaros - xUnit Test Patterns

I think there are more books you should read as a professional developer, but this list is at the moment my top ten list of books I think should have read.


What are your favorite software engineering books? Send me comments or write me via Twitter.


Links

Sonntag, 5. Juni 2011

Sikuli – GUI Test Automation with Java Robot API and Images

The Sikuli project provides a simple tool for automate and test graphical user interfaces (GUI) using images (screenshots). The idea is to find an element on the screen by a screenshot and not by XPath or ID. The tool can be used for all GUIs also web applications. It’s a nice idea below you can see a simple example.


The SIKULI project is based on the Java VM and also provides an API for writing the automation in Java here a JUnit sample test.


For real world web testing it is not the right tool I think, because it depends on the style of the elements. When the button style changed you need a new screenshot of the button. But it is a nice tool for simple automation tasks. Have also a look at screen casts on the project homepage.

Links:
- Project Home - http://sikuli.org/
- How to use Sikuli Script in your JAVA programs - http://sikuli.org/docx/faq/030-java-dev.html