Continuos Integration is the practice of integrating changes from many people as often as possible. Instead of merging changes once a month and spending time handling merge errors you try integrate every day, perhaps even every hour. Each integration is built and tested on a server. If there are build errors or test failures, you [...]
Continuos Integration for XCode projects
January 31st, 2010 by Christian Hedin — Agile, Tools
Tags: automated testing, hudson, objective-c, tutorial, xcode
Maven, FindBugs and Dashboard Reports
January 29th, 2010 by Davor Crnomat — Testing, Tools
There are a few simple steps to get nice graphic presentations of FindBugs results using Maven.
First, to enable FindBugs reporting in Maven, just add report section to your pom files, something like example below, but of course, you can do your own configuration.
Sneaky throw
January 29th, 2010 by Jan Kronquist — JayView
The latest issue of our magazine Jayview is out with brand new look and feel. My contribution was a cool piece of code that gets rid of those annoying exceptions. However, during layouting the link to the source disappeared. Credit should of course go to Reinier Zwitserloot and his mail on Java Posse.
public class [...]
iPad, the Future, and the Luxury of Starting Over
January 28th, 2010 by Fredrik Olsson — Events, Frameworks, Innovation
A luxury that you seldom have in the world of software development is the luxury of starting over. I am not talking about throwing away everything and start from scratch. But just taking what you have, and all the experiences learned. Apply some major refactoring to make what works really shine, and without care of [...]
Tags: apple, cocoa, cocoa touch, ipad, iphone
The easy way to test Android applications
January 28th, 2010 by Renas Reda — Frameworks, Open Source, Testing, Tools
I’m going to guess that most of you know what instrumentation is. In the event that you don’t, instrumentation is a feature in which specific monitoring of the interactions between an application and the system is made possible. Instrumentation also makes it possible to write test cases that interact with the application. The problem with [...]
Tags: android, automated testing, junit
Boosting Android performance using JNI
January 25th, 2010 by Mattias Rosberg — Embedded, Programming
JNI or Java Native Interface is the interface between the Java code running in a JVM and the native code running outside the JVM. It works both ways, that is you can use JNI to call native code from your Java programs and to call Java code from your native code. The native code normally [...]
Getting around static typing in Scala
January 23rd, 2010 by Jan Kronquist — Programming
I really like static typing, but sometimes it can get in your way. For instance if you have a collection of objects and you want to perform an operation on the objects of a certain subclass you can run into problems.
Tags: collections, scala
Maven, the new Elephant on the Block
January 23rd, 2010 by Anders Janmyr — Tools
Some of you may remember the article, by Bruce Tate, Don’t Make Me Eat the Elephant Again.
It was an article about EJB, and Bruce was begging Sun not to make the same mistakes with EJB3 as they had done with EJB, and EJB2. They didn’t, Spring came along as better alternative and forced EJB3 to [...]
Tags: build systems, buildr, maven, maven2, rake
One artifact with multiple configurations in Maven
January 21st, 2010 by Henrik Larne — Open Source, Programming, Tools
Problem
When working on www.beertoplist.com I ran into a Maven problem, that is fairly common: Having a project that should be configured differently for different environments. That is for instance you want one configuration for development, one for test and one for production. I wanted a solution that allowed me to make changes to all kind [...]
Scripting in Ruby
January 16th, 2010 by Anders Janmyr — Scripting
I just read, or rather skimmed, the book, called Everyday Scripting with Ruby and it is awful. I had high expectations. I was expecting something like
Perl for System Administration, where you right away get into hard core Perl scripting. This book is nothing like that! It is a really basic introduction to Ruby, and if [...]
Tags: email, gmail, growl, perl, python, ruby
Learn to Stop Worrying and Love the Singleton
January 15th, 2010 by Fredrik Olsson — Architecture, Design Patterns, Embedded
Enterprise applications and mobile applications have quite different requirements. Starting an enterprise application is just something you do once before it continue running for months or years. On the other side of the spectrum most mobile applications seldom runs for more than minutes, run by a bored users standing in line or riding the bus. [...]
Tags: android, java, javame, mobile, mock, performance, spring ldap, tips, tricks
Test Driven Development in XCode
January 15th, 2010 by Christian Hedin — Frameworks, Programming, Testing, Tools
Test Driven Development, or TDD for short, is a simple software development practice where unit tests, small focused test cases, drive the development forward. This is most easily explained by the Three Rules of TDD that dictate the following:
You are not allowed to write any production code [...]
Tags: iphone, mac, objective-c, tdd, tutorial
