This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
101 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# Session 2 | ||
|
||
Focus: Ping Pong π | ||
|
||
Facilitator: Rea Sutter | ||
|
||
--- | ||
|
||
## Get Your Hands Dirty π οΈπ·ποΈ | ||
|
||
Now let's start coding! | ||
|
||
Work test-driven, start with any test from last session | ||
|
||
Switch roles ping-pong style | ||
|
||
--- | ||
|
||
## How to TDD π€β π‘ | ||
|
||
::: {.fragment} | ||
π₯ RED - write a test and see it fail | ||
::: | ||
|
||
::: {.fragment} | ||
π© GREEN - write **minimal amount** of code to pass the test | ||
::: | ||
|
||
::: {.fragment} | ||
π¨ REFACTOR - don't add/change functionality | ||
::: | ||
|
||
::: {.fragment} | ||
π REPEAT | ||
::: | ||
|
||
--- | ||
|
||
## How to Ping Pong π€ππ‘ | ||
|
||
::: {.fragment} | ||
π °οΈ writes a test, sees it fail | ||
::: | ||
|
||
::: {.fragment} | ||
π§ writes the code, sees tests succeed | ||
::: | ||
|
||
::: {.fragment} | ||
π °οΈ refactors, tests still green | ||
::: | ||
|
||
::: {.fragment} | ||
π§ writes the next test, sees it fail | ||
::: | ||
|
||
::: {.fragment} | ||
π °οΈ writes the code, sees tests succeed | ||
::: | ||
|
||
::: {.fragment} | ||
etc. | ||
::: | ||
|
||
--- | ||
|
||
## Demo π§π» | ||
|
||
--- | ||
|
||
## Extra Challenge: Explore Directions π§πΊοΈ | ||
|
||
> Inside out? Outside in? | ||
Which direction are you more comfortable with? | ||
|
||
Try the other one! | ||
|
||
--- | ||
|
||
{{< include ../_pairing.qmd >}} | ||
|
||
--- | ||
|
||
{{< include ../_learning_and_practicing.qmd >}} | ||
|
||
--- | ||
|
||
{{< include ../_retrospective.qmd >}} | ||
|
||
* What went well? | ||
* What was the most difficult part? | ||
* Which role do you prefer, and why? | ||
|
||
--- | ||
|
||
{{< include ../_short_break.qmd >}} |