Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
ping pong session
Browse files Browse the repository at this point in the history
  • Loading branch information
ReaSu committed Nov 2, 2023
1 parent 012b132 commit f5c22f3
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 77 deletions.
8 changes: 4 additions & 4 deletions sessions/02_pen_and_paper/_content.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ Outside-In:

---

{{< include ./sessions/_pairing.qmd >}}
{{< include ../_pairing.qmd >}}

---

{{< include ./sessions/_learning_and_practicing.qmd >}}
{{< include ../_learning_and_practicing.qmd >}}

---

{{< include ./sessions/_retrospective.qmd >}}
{{< include ../_retrospective.qmd >}}

* How did you simplify?
* What is your first test case?
* What do you think about *directions*?

---

{{< include ./sessions/_short_break.qmd >}}
{{< include ../_short_break.qmd >}}
73 changes: 0 additions & 73 deletions sessions/03_facing_reality/_content.qmd

This file was deleted.

97 changes: 97 additions & 0 deletions sessions/03_ping_pong/_content.qmd
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 >}}

0 comments on commit f5c22f3

Please sign in to comment.