Skip to content

Commit

Permalink
add proposed solution from the challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
ythirion committed Dec 26, 2023
1 parent 5c3df8b commit 99eebfd
Show file tree
Hide file tree
Showing 25 changed files with 94 additions and 20 deletions.
5 changes: 4 additions & 1 deletion exercise/day01/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ May the crafting journey begin!

- <u>💡HINT:</u> Your IDE is your best friend in this journey!

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day01/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day02/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ May your journey continue!

- <u>💡HINT:</u> Apply what you learned on day 1

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day02/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day03/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ May the crafting journey continue!

- <u>💡HINT:</u> Be consistent with your formatting rules!

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day03/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day04/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ May your crafting journey be safe!

- <u>💡HINT:</u> Think of what defines a behavior!

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day04/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day05/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ May your crafting journey continue!

- <u>💡HINT:</u> IDE + undo can help you.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day05/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day06/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ May your crafting journey continue!

- <u>💡HINT:</u> Assess the inputs and assertions.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day06/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day07/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ May your crafting journey bring new challenges!

- <u>💡HINT:</u> Use all the techniques you've learned this week.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day07/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day08/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@ May your crafting journey bring you new lights!
- <u>💡HINT1:</u> The project is empty, so you'll have to auto-generate your code from a test class.
- <u>💡HINT2:</u> Start with the easiest behavior to write a test for (Baby Step).

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day08/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day09/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ May your crafting journey be safe!

- <u>💡HINT:</u> Think of what kind of method it is. Command or Query?

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day09/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day10/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ May your crafting journey continue!

- <u>💡HINT:</u> Think of the commonality in your conditions.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day10/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day11/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ May your crafting journey bring you to new places!

- <u>💡HINT:</u> Read the ***year documentation.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day11/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day12/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ May your crafting journey be smooth!

- <u>💡HINT:</u> Your previous tests can't fail if you are testing a new method.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day12/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day13/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ May your crafting journey continue!

- <u>💡HINT:</u> Your tests always need the same type of objects.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day13/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day14/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ May your crafting journey continue!

- <u>💡HINT:</u> Think of how you can return information about a faulty state.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day14/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day15/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ May you be protected on your crafting journey!

- <u>💡HINT:</u> How can I maximize my coverage.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day15/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day16/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ May you be protected on your crafting journey!

- <u>💡HINT:</u> Code from usage for this one.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day16/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day17/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ May your crafting journey bring you to new heights!

- <u>💡HINT:</u> What PBT stands for.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day17/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day18/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ May your crafting journey be sound!

- <u>💡HINT:</u> Read the ArchUnit documentation for Java.

![snippet of the day](snippet.png)
![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day18/docs/step-by-step.md)
7 changes: 6 additions & 1 deletion exercise/day19/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ This time, the approach might be a bit different.
May your crafting journey continue!

- <u>💡HINT:</u> What object can you return to get the error state?
- <u>💡HINT:</u> What object can you return to get the error state?

![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day19/docs/step-by-step.md)
3 changes: 3 additions & 0 deletions exercise/day20/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ May your crafting journey be safe!
To better understand the game rules we invite you to take a look them [here](https://www.ultraboardgames.com/yahtzee/game-rules.php).

![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day20/docs/step-by-step.md)
3 changes: 3 additions & 0 deletions exercise/day21/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,6 @@ class CommunicationBasedTests {
![Communication-Based](img/communication-based.png)

![snippet of the day](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day21/docs/step-by-step.md)
3 changes: 3 additions & 0 deletions exercise/day22/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ Basically to use it, during this challenge you have to run the below command in
```

![Diamond kata](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day22/docs/step-by-step.md)
3 changes: 3 additions & 0 deletions exercise/day23/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ Some rules:
![All in one kata](all-in-one.png)

![snippet](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day23/docs/step-by-step.md)
5 changes: 4 additions & 1 deletion exercise/day24/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ code the crappiest possible.
- <u>💡HINT:</u> Your IDE can also help you write difficult code.

![Crappy Driven Development](cdd.png)
![Snippet](snippet.png)
![Snippet](snippet.png)

### Proposed Solution
[![Proposed Solution Guide](../../../img/proposed-solution.png)](../../../solution/day24/docs/step-by-step.md)
Binary file added img/proposed-solution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 99eebfd

Please sign in to comment.