Archive for the 'Software development' Category
cintoo Messages for Java 1.4?
0 Comments Published July 6th, 2006 in Java, Software, Software development, cintooI’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?
Moved cintoo Messages from jMock to EasyMock
0 Comments Published June 30th, 2006 in Java, Software development, cintooSeveral 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 […]
cintoo Messages 1.0 released
2 Comments Published June 27th, 2006 in Java, Software development, cintooDue 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 […]
Successfully moved Messages to TestNG
0 Comments Published June 26th, 2006 in Java, Software development, cintooThanks 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 […]
Why, oh why, doesn't TestNG work for me?
5 Comments Published June 26th, 2006 in Java, Software development, cintooI 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 […]
cintoo Messages 1.0 RC1
0 Comments Published June 16th, 2006 in Java, Software, Software development, cintooJust 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
Method names in Java can be named _ and why static import is a good thing
3 Comments Published June 6th, 2006 in Java, Software development, cintooWhen 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 […]
100% test coverage for Swing and database apps
0 Comments Published May 29th, 2006 in Java, Software, Software developmentA 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 […]
cintoo Messages moved to Java 5
0 Comments Published May 24th, 2006 in Java, Software development, cintooI 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 […]