Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added slides/img/red-green-refactor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 40 additions & 7 deletions slides/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ <h1 class="try">Coding Dojo</h1>
<h1 class="try">Principles and Rules</h1>
<ul>
<li>Promote continuous learning in a safe environment</li>
<li>The rules used at a Dojo depend on which format the Dojo uses</li>
<li>There are no silly questions</li>
<li>Collaborative approach</li>
<li>Be nice :)</li>
</ul>
</article>
Expand Down Expand Up @@ -91,15 +92,49 @@ <h1 class="try">Formats</h1>
<article>
<h1 class="try">Today</h1>
<ul>
<li>Test-driven Development</li>
<li>TDD schools: London and Chicago</li>
<li>Red / Green / Refactor</li>
<li>Baby steps</li>
<li>Test-driven Development<br />London vs. <b>Chicago</b></li>
<li>Mob Programming</li>
</ul>
</article>

</section>

<section id="three-laws-of-tdd">

<article>
<h1 class="try">Three Laws of TDD</h1>
<ol>
<li>You must write a failing test before you write any production code.</li>
<li>You must not write more of a test than is sufficient to fail, or fail to compile.</li>
<li>You must not write more production code than is sufficient to make the currently failing test pass.</li>
</ol>
</article>

</section>

<section id="red-green-refactor">

<article>
<h1 class="try">Red-Green-Refactor</h1>
<ol>
<li>Create a unit tests that fails.</li>
<li>Write production code that makes that test pass.</li>
<li>Clean up the mess you just made.</li>
</ol>
<img src="img/red-green-refactor.jpg" width="400" style="margin-top: 15px" />
</article>

</section>


<section id="show-me-the-code">

<article>
<h1 class="try">Show me the code!</h1>
</article>

</section>

<section id="lets-start">

<article>
Expand All @@ -108,8 +143,6 @@ <h1 class="try">Let's start</h1>
<li>2 groups of ~10 people</li>
<li>Katas</li>
</ul>
<img style="margin-top: 80px" src="https://i.warosu.org/data/g/img/0468/35/1425425601853.png" width="100" />
<h2 class="try" style="font-size: 26px">May the 4th be with you</h2>
<img src="img/logo.png" width="200" />
</article>

Expand Down