Skip to content

Commit

Permalink
Merge branch 'master' of github.com:HackYourFutureBelgium/behavior-st…
Browse files Browse the repository at this point in the history
…rategy-implementation
  • Loading branch information
colevandersWands committed Jul 6, 2022
2 parents ea074b9 + 9cd11b4 commit 5bb4c17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lesson-plans/function-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ Learn to write unit tests and to design your own solutions to coding challenges.
## Before Class

- Read through the steps of Function Design and study the example:
- `./function-design/README.md`
- `./function-design/examples/reverse-a-string`
- [readme: function design](../2-write/1-function-design/README.md)
- [example: repeat-a-string](../2-write/1-function-design/examples/repeat-a-string)

## During Class

### Before Break

Practice writing unit tests for functions.

- **All together**: Introduce the syntax for unit testing, and go through the `testing-functions.test.js` example
- **All together**: Introduce the syntax for unit testing, and go through the example [repeat-a-string](../2-write/1-function-design/examples/repeat-a-string).
- **In small groups**: Write some tests!

### After Break

Practice some `./function-design`
Practice some [function design exercises](../2-write/1-function-design/exercises/)

- **All Together**: What is function design? What are the steps? Why is this important?
- **In small groups**: Write some functions!
Expand Down
3 changes: 1 addition & 2 deletions lesson-plans/solution-write-ups.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ This week take your first step to becoming an expert problem solver by studying
- Read through the README, this will be your main exercise for the week.
- Follow the instructions in **Getting Started** to locally set up your repository.
- Practice running the `example-quarter-of-the-year/sandbox.test.js` file with Study Lenses in the browser (and in VSCode if you want). (instructions in **Getting Started**)
- Read through [/about-testing/examples](https://github.com/HackYourFutureBelgium/behavior-strategy-implementation/tree/master/about-testing/examples) to be familiar with the syntax for `describe`, `it`, and `expect`
- Create an account on [Edabit](https://edabit.com) and take a look through the [Add up the Numbers from a Single Number](https://edabit.com/challenge/4gzDuDkompAqujpRi) exercise.
- Create an account on [Edabit](https://edabit.com) and take a look through the [Add up the Numbers from a Single Number](https://edabit.com/challenge/4gzDuDkompAqujpRi) exercise.

## During Class

Expand Down

0 comments on commit 5bb4c17

Please sign in to comment.