55
events were organized by JUG Switzerland during 2023.

Ich bin Freelancer mit über 20 Jahren Erfahrung in der Entwicklung komplexer Frameworks, Libraries und auch ganzer Applikationen. Einige sind z.B. bei den Raiffeisen Banken, in der Abacus Software und bei Kuoni/TUI im Einsatz, andere fanden ihren Weg auch schon zur US Air Force und ans Fraunhofer Institut.

03.02.2011

Literate Testing mit Java:

Wer erklären will, muss nachdenken.

LOCATION: Zürich
KEYWORDS: Concept, Methods

AGENDA:17:00 - 18:00h: Talk incl. Q/A
Afterwards you are invited to a refreshment.

SPEAKER: Peter Arrenbrecht   COMPANY: codewise.ch
SLIDES: 110202_Arrenbrecht-Literate-Testing.pdf

In diesem Vortrag zeige ich, wie vielschichtig die Rückwirkungen auf die Qualität von APIs sind, wenn man dazu Tutorials mit Beispielen schreibt, und diese Beispiele auch testet. Der Fokus liegt also nicht auf dem Schreiben des Tutorials, sondern auf dessen Rückwirkung auf das Design des APIs. Der Wert des Tutorials an sich ist in diesem Vortrag eher Nebensache. Daneben stelle ich zwei mögliche Tools vor, welche den Ansatz für Java schön unterstützen. Er ist aber auch ohne zusätzliche Tools verwendbar. Ich zeige auch Möglichkeiten auf, wie weniger schreiberisch veranlagte Entwickler vorgehen können.

"Literate Testing" steht für Tests, die durch erklärende Dokumentation und somit durch Use-Cases getrieben sind. Die Tests sind als Code-Beispiele verzahnt mit der Dokumentation und machen diese so wartbar. Als Beispiel sehe man sich das Tutorial von AFC an: http://www.formulacompiler.org/doc/tutorial/index.htm. Es ist konsequent so entstanden. Als Beispiel ausserhalb von Java schaue man sich doctest für Python an: http://docs.python.org/library/doctest.html.

LEVEL OF TALK: Intermediate
LANGUAGE: Talk: de / Slides: de


Ich bin Freelancer mit über 20 Jahren Erfahrung in der Entwicklung komplexer Frameworks, Libraries und auch ganzer Applikationen. Einige sind z.B. bei den Raiffeisen Banken, in der Abacus Software und bei Kuoni/TUI im Einsatz, andere fanden ihren Weg auch schon zur US Air Force und ans Fraunhofer Institut.


LEVELS:

BEGINNER
The presented topic is new to the audience or only little and superficial experience exists. This talk will mainly cover basic aspects of the topic and not go into much detail.

INTERMEDIATE
The presented topic is known to the audience, serious practical experience is expected. This talk might cover some basic aspects of the topic, but will as well go into depth and details.

ADVANCED
The presented topic is well-known to the audience, serious practical experience and a deep understanding are required. This talk will not cover basics of the topic, but will go into depth, might discuss details, compare different approaches, and so on.

ALL
The topic presented is of interest to all levels and does not require any special prior knowledge.

top

Supporting members

Platin

Gold

Silver

 
 

 

About

JUG Switzerland aims at promoting the application of Java technology in Switzerland.

JUG Switzerland facilitates the sharing of experience and information among its members. This is accomplished through workshops, seminars and conferences. JUG Switzerland supports and encourages the cooperation between commercial organizations and research institutions.

JUG Switzerland is funded through membership fees.

Design
Partner

 

Contact

Java User Group Switzerland
8000 Zürich
info@jug.ch

© Java User Group Switzerland