From System.out to Executable Specifications · From System.out to Executable Specifications ....
Transcript of From System.out to Executable Specifications · From System.out to Executable Specifications ....
![Page 1: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/1.jpg)
From System.out to Executable Specifications
![Page 2: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/2.jpg)
Vorstellung
• Langjährige Erfahrungen als Entwickler, Architekt & Coach in verschiedenen Projekten mit Fokus eGovernment und Automobilindustrie
• Leiter der Competence Area " Client Architecture & Technology " mit 3 dazugehörigen Competence Groups und ca. 15 Mitarbeitern
• Mehrjährige Durchführung von Vorlesungen an der Dualen Hochschule Baden-Württemberg
![Page 3: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/3.jpg)
3
Die Anfänge
Fachexperte
Kunde
Entwickler
Entwurf, Design
Implementierung
Test
_________________ ?
![Page 4: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/4.jpg)
4
Die Zeit danach…
• Komplexere Anforderungen
Komplexere Lösungen
Grössere Teams
Aufgabenteilung , Spezialisierung
![Page 5: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/5.jpg)
5
Wasserfall Trennung der Experten
Fach-
experten
Entwickler
Test & QA
Architekt
Anforderungen Anforderungen
Bug-Report Design /
Architecture
Deliverables
Overhead !
![Page 6: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/6.jpg)
6
Probleme
Kein gemeinsames Verständnis !
![Page 7: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/7.jpg)
7
Probleme
Redundanzen Hoher Pflegeaufwand
Fach-
experten Entwickler
Test & QA
Requirement
Management Tool
Architekt
Models
Deliverables
Source Code
Test scripts
Bug
reports
Documen
tation
Test
Specification
![Page 8: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/8.jpg)
8
Traceability als Lösungsansatz
Fach-
experten Entwickler
Test & QA
Requirement
Management Tool
Architekt
Models
Deliverables
Source Code
Documen
tation
Test
Specification
Test scripts
Bug
reports
![Page 9: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/9.jpg)
9
Traceability als Lösungsansatz?
• Nur Verlinkung Keine Synchronisierung
• Eigentlich Schuldzuweisung !
![Page 10: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/10.jpg)
EIN crossfunctional TEAM !
Besser : Mauern brechen !
Fach-
experten Entwickler
Test & QA Architekt
![Page 11: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/11.jpg)
1. Specification Workshops
Kollaboration aller Experten ! 11
Fachbereich
Anwender
Product Owner
Developer
Architects
Test & QA
![Page 12: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/12.jpg)
12
2. Verfeinerung mit Schlüsselbeispielen
Sind Grundlage für
![Page 13: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/13.jpg)
13
Ergebnis : Specification with Examples
User story
Scenarios, Akzeptanzkriterien
Schlüsselbeispiele
![Page 14: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/14.jpg)
14
3. Automatisierung der Validierung
Die Spezifikation inkl. Beispiele & Szenarien
Die Fixture als Glue-Code
Das System Under Test
![Page 15: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/15.jpg)
15
Ergebnis: ausführbare Spezifikation
![Page 16: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/16.jpg)
Vorteile
• Trennung WAS WIE testen
Testdaten nicht im Code
Schlankerer Code !
![Page 17: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/17.jpg)
Vorteile
• Einfache Erfassung Testfälle & -
szenarien
• Schnellere Entwicklung der Tests
![Page 18: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/18.jpg)
18
4. Regelmässige Validierung
1. Strukuturierung der ausführbaren Spezifikationen
2. Einbindung in die CI-Umgebung
![Page 19: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/19.jpg)
19
Ergebnis: Living Documentation
• Für alle zugänglich
• Verständlich für alle !
• Abbildung des aktuellen Stands der entwickelten Software
![Page 20: From System.out to Executable Specifications · From System.out to Executable Specifications . Vorstellung ... Das System Under Test . 15 Ergebnis: ausführbare Spezifikation . Vorteile](https://reader035.fdocuments.net/reader035/viewer/2022070108/602674bb8d3bd940ea54d127/html5/thumbnails/20.jpg)
20