Smalltalk-Stammtisch München am 24.06.2013

Kommenden Montag findet in München nach längerer Pause wieder der Smalltalk-Stammtisch für alle Smalltalker und Interessierten statt. Diesmal sind zwei Vorträge geplant: Konzepte von APL in Smalltalk Automatisierung von Userakzeptanztests von Seasideapplikationen Es lohnt sich also wieder mal, den Kalender zu konsultieren und zu prüfen, ob Montag Abend noch frei ist. Ich würde vor allem … Continue reading Smalltalk-Stammtisch München am 24.06.2013

Possible improvement for SUnit: yellow by default

This is just a small idea, but I'd like to share and discuss it: A test method that contains no assertions should turn yellow by default. Why on earth? Well, you know, in theory, everybody starts writing tests with assertions. And as we all know, we all write tests first and all that stuff. In … Continue reading Possible improvement for SUnit: yellow by default

Using the new Monticello Importer from Instantiations

I just wanted to try the new Monticello Importer Beta that Instantiations just released yesterday and thought it wouldn't hurt to describe the installation and use a little. Not that it's hard, but not everybody might have seen monticello before. Installation Monticello's .mcz files basically are zip files with a defined structure of ST source … Continue reading Using the new Monticello Importer from Instantiations

Yet another Mock Object “framework” for VA Smalltalk

I'm currently preparing a training/workshop for a new customer where we want to find ways and techniques to improve their use of unit tests in a legacy Smalltalk project. They've been using VA Smalltalk for a couple of years successfully and provide a very respected family of products in their field. In fact, they say … Continue reading Yet another Mock Object “framework” for VA Smalltalk

SUnit extension uploaded to VASTGoodies.com

I've just uploaded my little extension to the SUnit Framework to VASTGoodies. If you'd like to try it, I suggest loading the map z.ST: SUnit Testing. What does it do? It simply keeps the text that were defined in test assertions like assert:description: stored in an individual TestCase when the test fails, or the name … Continue reading SUnit extension uploaded to VASTGoodies.com

Little Addition to SUnit: keep a failure text with errors and failures

I've posted about a problem I'm having with SUnit before: a TestResult does not hold the description Strings of failures and errors, so it is not easy to log unit test results with bare SUnit. I need this for our Hudson Build Server integration on our project. While some developers have solved this problem by … Continue reading Little Addition to SUnit: keep a failure text with errors and failures

A little update on sUnit and should:/shouldnt:

A few days after my post sUnit and should:/shouldnt: vs. assert:/deny: I received a mail from Niall Ross who maintains sUnit. I was quite busy the last weeks, so I am a bit late with this update... Niall pointed out that should: and shouldnt: both are deprecated, so it is not a good idea to use … Continue reading A little update on sUnit and should:/shouldnt:

sUnit and should:/shouldnt: vs. assert:/deny:

[Update]Be sure to read the comments if you're interested in the topic. There's a lot of interesting info to find there[/Update] Last month I've given a fast-start Smalltalk training session to a new team member at a Customer's project and since that person was an experienced developer we not only covered Smalltalk basics but also … Continue reading sUnit and should:/shouldnt: vs. assert:/deny:

What sUnit could learn from jUnit [UPDATE]

The complete family of xxxUnit testing frameworks have their roots in Kent Beck's sUnit testing Framework for Smalltalk. While jUnit (the Java flavor) and sUnit were very similar for a long time, jUnit "lately" added a lot of stuff that is helpful in Java, but quite useless in Smalltalk (like Java Annotations), mostly with jUnit … Continue reading What sUnit could learn from jUnit [UPDATE]