mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
added a slide-deck for a workshop
This commit is contained in:
parent
311d9b964d
commit
4a82efedb7
Binary file not shown.
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 272 KiB |
@ -1,5 +1,7 @@
|
|||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
|
skinparam backgroundColor transparent
|
||||||
|
|
||||||
start
|
start
|
||||||
note left
|
note left
|
||||||
Do this for each item in the list.
|
Do this for each item in the list.
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
|
skinparam backgroundColor transparent
|
||||||
|
|
||||||
start
|
start
|
||||||
note left
|
|
||||||
Do this for each item in the list.
|
|
||||||
An item has a name, a sell in value and a quality value
|
|
||||||
end note
|
|
||||||
|
|
||||||
:lower quality with 1;
|
:lower quality with 1;
|
||||||
:lower sell in with 1;
|
:lower sell in with 1;
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
|
skinparam backgroundColor transparent
|
||||||
|
|
||||||
start
|
start
|
||||||
note left
|
|
||||||
Do this for each item in the list.
|
|
||||||
An item has a name, a sell in value and a quality value
|
|
||||||
end note
|
|
||||||
|
|
||||||
:lower quality with 1;
|
:lower quality with 1;
|
||||||
:lower sell in with 1;
|
:lower sell in with 1;
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
|
skinparam backgroundColor transparent
|
||||||
|
|
||||||
start
|
start
|
||||||
note left
|
|
||||||
Do this for each item in the list.
|
|
||||||
An item has a name, a sell in value and a quality value
|
|
||||||
end note
|
|
||||||
|
|
||||||
if (quality > 0) then (yes)
|
if (quality > 0) then (yes)
|
||||||
:lower quality with 1;
|
:lower quality with 1;
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
|
skinparam backgroundColor transparent
|
||||||
|
|
||||||
start
|
start
|
||||||
note left
|
|
||||||
Do this for each item in the list.
|
|
||||||
An item has a name, a sell in value and a quality value
|
|
||||||
end note
|
|
||||||
|
|
||||||
if (not "Aged Brie") then (yes)
|
if (not "Aged Brie") then (yes)
|
||||||
if (quality > 0) then (yes)
|
if (quality > 0) then (yes)
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
|
skinparam backgroundColor transparent
|
||||||
|
|
||||||
start
|
start
|
||||||
note left
|
|
||||||
Do this for each item in the list.
|
|
||||||
An item has a name, a sell in value and a quality value
|
|
||||||
end note
|
|
||||||
|
|
||||||
if (not "Aged Brie") then (yes)
|
if (not "Aged Brie") then (yes)
|
||||||
if (quality > 0) then (yes)
|
if (quality > 0) then (yes)
|
||||||
@ -32,6 +30,7 @@ if (sell in < 0) then (yes)
|
|||||||
else (no)
|
else (no)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
else (no)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
stop
|
stop
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
|
skinparam backgroundColor transparent
|
||||||
|
|
||||||
start
|
start
|
||||||
note left
|
|
||||||
Do this for each item in the list.
|
|
||||||
An item has a name, a sell in value and a quality value
|
|
||||||
end note
|
|
||||||
|
|
||||||
if (not "Aged Brie") then (yes)
|
if (not "Aged Brie") then (yes)
|
||||||
if (quality > 0) then (yes)
|
if (quality > 0) then (yes)
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
|
skinparam backgroundColor transparent
|
||||||
|
|
||||||
start
|
start
|
||||||
note left
|
|
||||||
Do this for each item in the list.
|
|
||||||
An item has a name, a sell in value and a quality value
|
|
||||||
end note
|
|
||||||
|
|
||||||
if (not "Aged Brie" and not "Backstage passes to a TAFKAL80ETC concert") then (yes)
|
if (not "Aged Brie" and not "Backstage passes to a TAFKAL80ETC concert") then (yes)
|
||||||
if (quality > 0) then (yes)
|
if (quality > 0) then (yes)
|
||||||
|
|||||||
@ -9,9 +9,13 @@ Several alternatives are available to render PlantUML, see https://plantuml.com/
|
|||||||
## Syntax
|
## Syntax
|
||||||
For the syntax of activity diagrams in PlantUML, please refer to https://plantuml.com/activity-diagram-beta
|
For the syntax of activity diagrams in PlantUML, please refer to https://plantuml.com/activity-diagram-beta
|
||||||
|
|
||||||
## Exercise
|
## Workshop
|
||||||
You can find the original GildedRose challenge in the gilded-rose.puml file.
|
You can run this exercise as a workshop.
|
||||||
|
|
||||||
|
During this workshop, you start off with a presentation explaining the domain, while filling out the testcases found under `plantuml/workshop`. After that, participants are invited to refactor the UML Activity Diagram, using the examples that were discovered during the presentation.
|
||||||
|
[The google slides can be found here](https://docs.google.com/presentation/d/1kkRnVQjZELcfuGoFXaiSY_HxbO4lPQnSgHRGQZIH2nU/edit?usp=sharing).
|
||||||
|
|
||||||
|
## History
|
||||||
If you want to illustrate how this activity diagram got to this state, you can show the requirements and the files under the /history directory. These individual files show the evolution of the activity diagram.
|
If you want to illustrate how this activity diagram got to this state, you can show the requirements and the files under the /history directory. These individual files show the evolution of the activity diagram.
|
||||||
|
|
||||||
## Original state
|
## Original state
|
||||||
|
|||||||
BIN
plantuml/workshop-materials/testcases.pdf
Normal file
BIN
plantuml/workshop-materials/testcases.pdf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user