A neat improvement to JUnit testing
Joe Walnes has posted a neat way to simplify and improve tests with JUnit. His technique borrows classes from JMock, but doesn't require you to use Mock Objects.
A rich mixture of things that interest, amuse, annoy or entertain me - mostly to do with Agile Application Development.
Joe Walnes has posted a neat way to simplify and improve tests with JUnit. His technique borrows classes from JMock, but doesn't require you to use Mock Objects.
If you're trying to build a external DSL, you'll need to write a compiler for it. If the language is non-trivial, you will probably want to use a parser generator. One of the best is SableCC, which deserves to be better known.
I forgot to this before my holidays, so its kinda late in the day - but there is a really good series of courses on in London next week.
Day 1: Introduction to programming with XP version 2
Day 2: Putting XP into practice with RoboCode
Day 3: Advanced Test-First with Mock Objects
Day 4: Acceptance Testing with Fit and Fit Library
Day 5: Automation of Builds and Deployment
They may still have some places free (but at this notice you may have to bring your own sandwiches).
The presenters are leading lights in the AgileCommunity and the courses will be very hands-on. Strongly recommended.
Apologies for posting this so late!
If you're interested in better ways to build better systems, you should take a look at the courses that Tom Gilb and Kai Gilb will be teaching in London this October.
I'm currently developing a tailored course for one of my major clients. I use an XSLT pipleline to convert a huge Mind Map into pdf and html student notes .