Canned Wicket Test Examples Unit testing of the GUI is not the same as unit testing through the GUI. We are interested in the logic of the GUI rather than the placement and order of the GUI widgets on screen.
Testing the logic makes the tests less sensitive to changes in prese...
Some Gotchas for Java Developers Learning JavaFX In an earlier post, I had attached slides from a presentation on JavaFX that contained some code examples. I discovered that at least one of them, the ball game, stopped working when I switched to JavaFX 1.3.
I would say it is a quite subtle difference...
Agile and Architecture
Yesterday I held a presentation on the subject "Agile and Architecture" at EDB. They have an internal competence network which meet
regularly and discuss agile processes and methods.
My point in this presentation was that every sy...
Lean vs Traditional Project Management
This week, we have Mary Poppendieck with us. She held an evening seminar which inspired me to think about the differences between Lean and traditional project management. I also am inspired by the questions I get from my spouse on this.
I though...
Jada jada JavaFX – Why I Love the Idea The other day I held a three-hour workshop, an introduction to JavaFX for some colleagues. The great thing about doing it, is that it forced me to answer the question: why is it necessary to create a new language just for GUI?Read more...Tags : present...
The TDD Tetrahedron, version 1.0 The TDD Tetrahedron has reached version 1.0.
As I write this, we have a course on advanced TDD with Robert C Martin as teacher. I took the opportunity to introduce the first version to the participants.
Uncle Bob and the TDD Tetrahedron.Read more......
TDD Illustrated I am planning an introductory course on TDD. In that process I have been thinking about how to convey the productivity gain with TDD.
Being a visual person, I had an idea that would illustrate this in a few pictures. Here they are for your scrutiny an...
The TDD Tetrahedron
Are you looking for some concrete expression for Test Driven Development? Let me give you a glimpse of what I am working currently on – the TDD Tetrahedron.
The idea originates from when a colleague at Crisp, David Barnholdt, wrote about not...
Change Based Configuration Management Configuration Management (CM) is crucial to any software project as neglecting it will easily get you in big trouble. It may look like bad luck, but it is not.
A CM-plan will deal with several matters, from simple to decide things, such as naming of r...
Beyond Basic TDD This coming spring we will host a course with Robert C Martin on advanced TDD. I would really appreciate the input from my experienced TDD readers on what they consider to be the largest obstacles when it comes to TDD. This is your chance to shape the ...
Not the Fixed Price Contract The fixed price contract has been discussed here at the Crisp blog by others. It is broken by design as it creates more problem than it fixes.
On the way from JAOO I talked to Udi Dahan and that made it fall into place in a different fashion. Not tha...
Design Principles for Error Handling Besides understanding the most important structures of a system, it is an architect's responsibility to understand and influence the design principles.
One common and important set of principles are those of error handling. It is good to have the same...
The Last on Code Review Code quality. It has been haunting me for so long I forgot when I started to think about it. Do other people think about it? For sure. Do everyone? Certainly not.
I was doing RUP and before that some waterfall process from DoD. Before that I was progr...
Modal Windows Considered Harmful On the Wicket user's mailing list there was a question about modal windows and it set me off. Since my excellent wisdom ;) is larger than just modal windows and Wicket, I thought that it would be of interest to all of you, dear readers.
I have discove...
Stable Interfaces - any good? I once worked in a rather large project, about 1000 persons. There are many stories about that project but the one that I'm thinking of now is that we loved to say "stable interface, we must have stable interfaces".
Now, stable means not ch...
Requirements Specification is Waste
Eclipse trashed some code for me today and I had to recreate the workspace. On such days, I can get a bit edgy and maybe I was, when commenting Richard Kronfält's blog on Scrum and traditional QA.
Sorry about that, Richard, but you are a viki...
Mock the Clock Your unit test should have no dependencies on anything external, you know that already. So you try not to read any files or connect to a database server. But what about time? Recently we had some unit tests that failed during nightly build due to dayli...
Understanding a System I teach a course on System Architecture. It is a three-day course attended by experienced developers who want to go further in some respect.
What strikes me most is that the majority has never read any architecture document. Since writing such docume...
A Lean Simulation in JavaFX My collagues are talking a lot about Lean these days. I thought it would be interesting to simulate one of their examples using JavaFX.
Here is a picture:
Read more...Tags : simulation javafx
Don't let Java ruin your JavaFX
Me and Oscar is currently working on a small project, just to learn JavaFX.
We stumbled on some nasty crashes which we at first did not understand.
ArrayIndexOutOfBound...
Recent Responses
Re: Beyond Basic TDD We are starting to implement an API to do real TDD on UI.
You can find it here: http://www.testatoo....
Enhetstester med Mockito Mockito är ett trevligt enhetstestramverk för Java. Påminner en hel del om easyMock och de tidigaste versionerna byggde ovanpå easyMock. Jag använde Mockito för att skapa enhetstester ihop med Wicket, främst för att mocka bort serveranropen. Per Lundho...
Re: TDD Illustrated I like this approach, but I disagree with the definition of "done" in the examples. In my opinion, we do not reach "done" in example 1 until time period 9. Each "done" that is followed by "oops" is not really "done" at all, it's only a candidate "done....
Re: The TDD Tetrahedron We are currently working on the problem of producing these in a cost-effective way. Suggestions are welcomed, make it in wood, plastic or paper? Which would be the most cost-effective?
When solved, this will be announced here and on the front page of ...
Re: Change Based Configuration Management I understand your problem. I use to have hard times while using Subversion. Moving our development to git made branching and merging much more painless. The other thing we have done is make sure that bugs or improvement tickets are splited until reach ...
Re: Don't let Java ruin your JavaFX Great that you are using JavaFX. Do you have a cvs or code source so others can also learn from your experience?
Keep it up!
Re: Beyond Basic TDD This post is great and very interesting. I myself have worked with several systems where only small portions of the system have unit tests. This means that noone are certain that the tests are uptodate or reliable. One may not even be aware that the po...
Re: The Last on Code Review Amen, brother! I have been thinking about writing the exact same blog entry, but you beat me to the punch! I've been a strong believer in code reviews, and even blogged about it:
http://www.jroller.c...
There are no blog entries for the chosen time period.