Und darin liegt in meiner Einschätzung auch der große Vorteil des SOP-Ansatzes: die Datenbeschreibung erfolgt komplett mit Java-Mitteln. Damit reicht ein Blick in den Source-Code für die aktuelle Beschreibung. Klar geht das auch mit einer eigenen DSL und selbstgeschriebenem Generator, aber hier ist oft die Gefahr, dass man eigentlich Generator-Entwicklung macht (von Problemen mit dem Refactoring mal ganz zu schweigen).
Näheres zu SOP findet man über die Vortragsfolien des Workshops oder aber auch über soplets.org.
... link (0 Kommentare) ... comment
Trotzdem (oder vielleicht gerade deswegen) waren die Teilnehmer sehr zufrieden mit der Veranstaltung. Einzig die Frische des Raums in der Alten Scheuer wurde bemängelt. Der Workshop-Charakter (morgens Vortrag, mittags praktische Übungen) wurde dankbar aufgenommen, und jeder Teilnehmer konnte die Theorie vom Vormittag nachmittags ausprobieren (s. Bilder vom Workshop).
Da wir dieses Mal WLAN-Anschluss hatten, nahmen einige Teilnehmer dies zum Anlass, unter #sttt2011 zu twittern oder zu bloggen. Auch die Referenten nutzen das Internet für Aktualisierungen. So wurde noch während der Test-Tagen eine Mac-Version für den InspectIT-Client nachgereicht (www.inspectit.eu/downloads/) und die inspectIT-Demo aktualisiert.
Auswertung Fragebogen
Kriterium | sehr gut (1) | gut (2) | befr. (3) | (4) | (5) | Schnitt |
---|---|---|---|---|---|---|
Umfang | 7 | 6 | 1.46 | |||
Stoffvermittlung | 6 | 5 | 1.45 | |||
Lernklima | 11 | 2 | 1.15 | |||
Übungen | 6 | 3 | 2 | 1.64 | ||
Unterlagen | 2 | 7 | 2 | 2.00 | ||
Räumlichkeiten | 4 | 6 | 3 | 1.92 | ||
Gesamteindruck | 4 | 8 | 1.67 |
Was den Teilnehmern besonders gefiel
Ambiente, AtmosphäreAufteilung vormittags Vorträge, nachmittags Übungen
Überschaubarer Teilnehmerkreis
Gutes Konzept: Besser als reine Vorträge
Kleine Gruppen, angenehmes Klima
schön familiär
Viel Zeit für Workshops, intensives Arbeiten in kleinen Gruppen
Jubula, Bredex, Tag 2 war inhaltlich besser!
Systemtest nonstop
Die neue Workshopverteilung ist besser, da man ohne Streß die Übungen durchführen kann
Was den Teilnehmern nicht gefiel
Raumtemperatur zu kühl (mehrfach)Von den Übungen hätte ich am 1. Tage gerne mehr besucht
sehr toollastig
Großer Installations- und Setupaufwand bei den Übungen
Übungen zu kurz
keine Fragerunde direkt nach den Vorträgen, da die Zeit zu knapp war
Anreise mit Auto schwierig (parken)
Stühle könnten bequemer sein
FitNesse, Gebit
Zu oft Pizza
Fazit
Das positive Feedback, das wir von den Teilnehmern und Referenten bekommen haben, beweist, dass Testen nicht langweilig sein muss und ermutigt uns, die Test-Tage in zwei Jahren zu wiederholen - in wärmeren Räumen und zu einem konflikt-freieren Termin.... link (0 Kommentare) ... comment
Nähere Infos gibt es unter //jugs.org/tt2011/...
... link (0 Kommentare) ... comment
Since Eastern PatternTesting 1.1.0 is released. Some deprecated APIs from 0.8 and 0.9 are now removed, the check methods of the different JUnit testers are now renamed to assertXxx and the ClasspathMonitor has now a much faster startup time. For more infos about all changes see the release history.
The Wiki article "Testing with PatternTesting" explains how you can use the different annotations and testers which are provided for unit testing. If you want to practice it come to the Stuttgarter Test-Tage 2011 or try it yourself.Happy PatternTesting
... link (0 Kommentare) ... comment
This version is still based on Maven 2.2.1 and OpenOffice 3.2.1 but all the open points mentioned in my first article are fixed now. We use the maven-ooo-plugin to build an OOo extension for risk management (aOPM) and it works as expected.
What's next: the next step will be an update of the used libraries for Maven 3. A big problem for the near future is the fork of OpenOffice so at the moment I can't say if we will focus on OpenOffice 3.3 or LibreOffice.
... link (0 Kommentare) ... comment
For that reason there is a maven-inherit-plugin available, which allows you to extend non-local Maven plugins. You must add the OPS4J repository (as described on the maven-inherit-plugin page) and follow the steps of the usage page.
... link (0 Kommentare) ... comment
Ansonsten wünsche ich allen Lesern ein gutes neues Jahr, Stehvermögen bei den Vorsätzen und endlich das lang versprochene Java 7.
... link (0 Kommentare) ... comment
- to report some news about the new maven-ooo-plugin-it project
- to give a short introduction how to start a project with a local GIT repository and push it later to github
Local GIT Repository Created
Yesterday I decided to start my own integration test project for the maven-ooo-plugin. Here are the steps to create a GIT repository for this project (GIT must be installed):- create the project directory (mkdir maven-ooo-plugin-it)
- change to this directory (cd maven-ooo-plugin-it)
- create local GIT repository (git init)
Pushed to GITHUB
Today I wanted to push this project to github. If you log and follow the Dashboard link you find a New Repository button which I used to create the maven-ooo-plugin-it repository on github. Now I got a list of steps which I followed:- cd cd maven-ooo-plugin-it
- git remote add origin git@github.com:oboehm/maven-ooo-plugin-it.git
- git push origin master
... link (0 Kommentare) ... comment
As I learned today one reason for an com.sun.star.deployment.DeploymentException can be:
- an incomplete classpath entry in the generated manifest file,
- a missing __writeRegistryServiceInfo or
- a missing __getComponentFactory method in a Java component
... link (0 Kommentare) ... comment
Na ja, jetzt sind es halt zwei Monate später. Aber wer Interesse daran hat, die Zeitschrift gibt es noch im gut sortierten Zeitschriftenladen...
... link (0 Kommentare) ... comment
Two objects which are equals should return the same hash code (and not the other way around, as some developers think).
...Note that it is generally necessary to override the hashCode method whenever this method is overridden, so as to maintain the general contract for the hashCode method, which states that equal objects must have equal hash codes.This is corresponding Javadoc about the equals method. For those who forget this PatternTesting offers now an ObjectTester which checks classes with overwitten equals methods:
ObjectTester.assertEquals(my.little.Dummy.class);The ObjectTester will create with this call two Dummy objects to check the implementation. If it is not ok an Assertion Error will be thrown.
You can also add a package to check if all classes in the package have a correct equals/hashCode implementation:
ObjectTester.assertEquals(Dummy.class.getPackage()); ObjectTester.assertEqualsOfPackage("my.little");Both calls are identical. You can also exclude classes from this check. This is sometimes necessary for classes where the constructor produces different objects (as is the case for the Date class, for example).
In a similar way you can check classes with the SerializableTester and CloneableTester if they are really serializable or clonable.
... link (0 Kommentare) ... comment
<build> ... <sourceDirectory>${basedir}/src</sourceDirectory> <testSourceDirectory>${basedir}/test</testSourceDirectory> <resources> <resource> <directory>src</directory> </resource> </resources> <testResources> <testResource> <directory>test</directory> </testResource> </testResources> ... </build>In diesem Beispiel liegen die Sourcen unter src und die Test-Sourcen unter test (inkl. der jeweiligen Resource- und Property-Dateien).
... link (0 Kommentare) ... comment
At github I found an enhancement of this Maven plugin. But the only stuff which was working on my MacBook was 'mvn archetype:create...'. Because I needed the plugin I forked it to my maven-ooo-plugin clone and tried to continue the work of Cédric and Frédéric.
What's working:
- mvn archetype:create (more or less, no changes from my side)
- mvn generate-sources (call of idlc, regmerge and javamaker, see OOo Java Eclipse Tutorial)
- mvn package (creation of OXT, the OpenOffice extension)
... link (0 Kommentare) ... comment
validator.validate(new StreamSource(reader))Marc Guillemot macht mich darauf aufmerksam, dass in den Javadocs zum StreamSource-Konstruktor der folgende Hinweis enthalten ist:
...Normally, a stream should be used rather than a reader, so that the XML parser can resolve character encoding specified by the XML declaration...Und tatsächlich - nachdem ich den Reader durch einen InputStream ersetzt hatte, lief mein Testfall ohne Fehler durch.
... link (0 Kommentare) ... comment