Archive for the 'Software development' Category



I’ve been thinking about 1.4 support for some time now. With TestNG as an example, it should be possible to both support the new 1.5 features like autoboxing and varargs and supply a 1.4 jar, any ideas and suggestions?

Several reasons convinced me to move cintoo Messages from jMock to EasyMock 2. The main reason is that jMock has no static importable methods for mock creation and verification. The way to do this in jMock is to extend a jMock TestCase class. Unfortunately this class depends on JUnit, so when moving to TestNG I […]

Due to the help by Alex with TestNG I finalized the Messages 1.0 release.
Messages is a free framework to make internationalization easier for Java
applications. It adds several features compared to default Java internation-
alization and support locales for threads and different bundles for different
packages. This allows the usage of different bundles for different parts of
the application […]

Thanks to the help from Alex (from the TestNG project, great support) I managed to move Messages from JUnit 3 to TestNG. TestNG is more flexible and seems to move faster. JUnit 4 was released after I started moving projects to TestNG, so my default now is TestNG and I only use JUnit 4 […]

I switched several projects from JUnit 3 to TestNG. After some minor problems with the fact that TestNG doesn’t seperate tests as JUnit does per default, everything works in IDEA and Maven. But whatever I tried, I can’t get TestNG to work with Ant. The TestNG Ant task just doesn’t find any tests. I […]

Just made the last version the RC1 version without changes. Everythings seems to be working, no complaints. If everything moves along as planned, this will become 1.0 final. After that I’ll have some ideas on 1.1. Thanks to all users for their feedback.
http://messages.cintoo.org

When formatting messages with Messages.format code becomes quite noisy. So I thought why not use a special char for the method name? I used “_” which seems to be unintrusive.

Messages.format( “FILES_WRITTEN”, files);

then becomes

Messages._( “FILES_WRITTEN”, files );

combining this with the new static import feature from Java 1.5 (great timing :-) this becomes

import static api.cintoo.messages.Messages.*;
_( “FILES_WRITTEN”, files);

which […]

A recent post about in-memory database unit testing by Mike Bosch reminded me of a presentation I wrote but never published about developer testing and how to achive 100% test coverage for nasty applications. High test coverage for most parts of an application is easy, for some parts it’s difficult to do. The hard […]

I moved cintoo Messages to JDK 1.5 because of several reasons. I know this will reduce the potential user base, but with Mustang on the horizon, a lot of projects are moving to 1.5 now or in the near feature. Beside I really like generics (being a strong opposer for some years, though IDEA could […]

In the last 30 years the software stack has grown from year to year. When I started coding in Z80 machine code, there was no software stack. Just the programmer and some hardware registers. No other software involved. Direct access to the machine. From there software stacks grew, to compilers and libraries. With Java the […]




RSS

About

Stephan Schmidt is the project manager for Reposita. He is one of the founders of SnipSnap and is the lead on Radeox. Stephan has been working as a project manager and CTO and is currently a team manager at ImmobilienScout24 in Berlin. He can be reached at stephan@reposita.org. All views are only his own.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

Categories