Skip to content

Commit

Permalink
GP-32 Fix and add Readme to TDD
Browse files Browse the repository at this point in the history
  • Loading branch information
shryhus committed Jan 12, 2021
1 parent 265264b commit 0512e6c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
25 changes: 25 additions & 0 deletions 6-0-test-driven-development/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# <img src="https://raw.githubusercontent.com/bobocode-projects/resources/master/image/logo_transparent_background.png" height=50/>TDD exercises
The list of exercises dedicated to training your Test-driven development (TDD) skills

### No pain, No gain :heavy_exclamation_mark:

> Skill is only developed by hours and hours and hours of beating on your craft
Working on real problems, you're focused on finding a solution. Learning new things, you're trying to understand how it works.
It is important to have a different type of activities, which purpose is improving your skill

***An exercise** is a predefined task that you continuously implement to improve a certain skill* :muscle:

##
### The three laws of TDD
1. You should not write production code until you have written a failing unit test
2. You should not write more of a unit test than is sufficient to fail
3. You should not write more production code than is sufficient to pass the failing test
##


* [Binary Search Tree]() relink
* [Stack]() relink
* [Linked List]() relink


Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
Improve your TDD skill implementing Stack

### Task
**Stack** is last in, first out (LIFO) collection of elements. You job is to implement the interface `Stack`
**Stack** is last in, first out (LIFO) collection of elements. Your job is to implement the interface `Stack`
using TDD discipline

### Pre-conditions :heavy_exclamation_mark:
You're supposed to know [The Three laws of TDD](https://github.com/bobocode-projects/tdd-exercises#the-three-laws-of-tdd),
You're supposed to know [The Three laws of TDD](https://github.com/bobocode-projects/java-fundamentals-course#the-three-laws-of-tdd) relink,
be familiar with Stack data structure, and be able to write Java code

### How to start :question:
* Just clone the repository and start implementing `Stack` interface following *three laws of TDD*
* If you don't have enough knowledge about this domain, check out the [links below](#related-materials-information_source)
* Don't worry if you got stuck, checkout the [exercise/completed](https://github.com/bobocode-projects/tdd-exercises/tree/exercise/completed/stack) branch and see the final implementation
* Don't worry if you got stuck, checkout the [exercise/completed](https://github.com/bobocode-projects/java-fundamentals-course/tree/exercise/completed) branch and see the final implementation

### Related materials :information_source:
* [Як виробити звичку писати тести? (Bobocode channel <img src="https://raw.githubusercontent.com/bobocode-projects/resources/master/image/logo_transparent_background.png" height=20/>)](https://youtu.be/L_CiX9C51BI)
Expand Down

0 comments on commit 0512e6c

Please sign in to comment.