Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1fa3d5

Browse files
committed
Added testing to the curriculum
1 parent c01f5db commit b1fa3d5

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

Week1/MAKEME.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ The above should give you a nice basis. If you have extra time and are still a l
2626
This week you will also get invited to your class repository and get an issue assigned to you. Read through the issue and take the steps to set up your environment for the rest of the curriculum!
2727

2828
## No homework to hand in
29+
2930
For the first 2 weeks of JavaScript there is no homework to hand in as the exercises already give you all the feedback you need. Go through the first 3 weeks at your own pace, and feel free to ask questions about any of the 3 weeks for the Q&A sessions.
3031

3132
## Done early?
3233

33-
Have a look at some of the week2 concepts already and try to do more exercises in the links above. The first weeks of the JavaScript modules are very important as understanding the basics will make the rest of the curriculum that much easier to follow. So keep reading and writing code!
34+
Try to do more exercises in the links above. The first weeks of the JavaScript modules are very important as understanding the basics will make the rest of the curriculum that much easier to follow. So keep reading and writing code! If you are done early, go on to week 2!
3435

Week1/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ These are the topics for week 1.
1818
6. [Statements vs. Expressions](https://study.hackyourfuture.net/#/javascript/statements-vs-expressions)
1919
7. [Operators](https://study.hackyourfuture.net/#/javascript/operators)
2020
8. [Debuggers](https://study.hackyourfuture.net/#/tools/debuggers)
21-
9. Testing code
22-
- [Assertion](https://study.hackyourfuture.net/#/testing/assertion)
23-
10. Career training (part 1)
21+
9. Career training (part 1)
2422

2523
## Week goals
2624
All of the detailed information about every concept is in your study book. The following goal explanation will link you to the correct place to get studying. Read through the goal description once to get an idea of what you will be learning, then go through the different links (either from the agenda or this goal list).
@@ -31,8 +29,6 @@ Time to start learning the language with the first building blocks: variables! H
3129

3230
To help learn the language we also want to introduce you to some tools that you can use to look under the hood of your code in the section about [debuggers](https://study.hackyourfuture.net/#/tools/debuggers). You won't understand everything of what's there yet, but debugging is so important we want you to look at it early. Read through it once and play around a bit in the debugger. We will be telling you to revisit the debugging section over the next few weeks as you start learning more and more about what is possible.
3331

34-
Lastly we want to introduce the first steps to testing code with some code you will find in your exercises. Have a look at what assertion is [here](https://study.hackyourfuture.net/#/testing/assertion), the `console.assert` lines in your practice exercises uses this to check that your code does the right thing.
35-
3632
## Career training (part 1)
3733
The goal of HYF is to get you a job, not just teach you how to program. That means that we also want to train you into how to present yourself to potential companies.
3834

Week2/MAKEME.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ For the first 2 weeks of JavaScript there is no homework to hand in as the exerc
1616

1717
## Done early?
1818

19-
Have a look at some of the week3 concepts already and try to do more exercises in the links above. The first weeks of the JavaScript modules are very important as understanding the basics will make the rest of the curriculum that much easier to follow. So keep reading and writing code!
19+
Try to do more exercises in the links above. The first weeks of the JavaScript modules are very important as understanding the basics will make the rest of the curriculum that much easier to follow. So keep reading and writing code! If you feel up to it, continue on to week 3 as then we bring everything together.

Week3/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ These are the topics for week 3:
88
2. [Scope](https://study.hackyourfuture.net/#/javascript/scope)
99
3. [Modern JS](https://study.hackyourfuture.net/#/javascript/modern-js)
1010
4. [Continue with Your personal brand](https://github.com/HackYourFuture/yourpersonalbrand)
11+
5. [Testing code](https://www.ministryoftesting.com/dojo/series/the-testing-planet-2017/lessons/so-what-is-software-testing)
12+
- [Assertion](https://study.hackyourfuture.net/#/testing/assertion)
1113

1214
## Week goals
1315
This week is the last week of explaining all the basic building blocks that JavaScript offers for you to work with. The last one is called functions, read all about them [here](https://study.hackyourfuture.net/#/javascript/functions). Functions bring along with them a concept called the scope that you may have encountered a bit last week but we want to explicitely explain now. Read about scope [here](https://study.hackyourfuture.net/#/javascript/scope).
@@ -16,6 +18,8 @@ These things will take the power of what you can do to another level, as it allo
1618

1719
Now that you have learned all the basic blocks it is time to tell you about the different versions of JavaScript. JavaScript has been evolving over its lifetime and certain syntax has been added. Have a look in your study book at the topic of what is called 'Modern JS' [here](https://study.hackyourfuture.net/#/javascript/modern-js). Throughout the curriculum we will be expecting you to use the modern syntax as that is most likely what you will be programming in. There is also a section on the history of JavaScript in there, you do not need to know this but we recommend it if you have some time to spare as it is very interesting.
1820

21+
Lastly we want to introduce the first steps to testing code. Let's first have a look at what software testing is and why we do it [here](https://www.ministryoftesting.com/dojo/series/the-testing-planet-2017/lessons/so-what-is-software-testing). The simplest form of testing is using assertions, have a look what that is [here](https://study.hackyourfuture.net/#/testing/assertion), we will introduce this more in your homework.
22+
1923
Also, don't forget about the [personal brand repo](https://github.com/HackYourFuture/yourpersonalbrand) if you didn't manage to complete it last week.
2024

2125
## Finished?

Week4/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ These are the topics for week 4:
1010
- Execution context
1111
- Why do we need closures?
1212
3. [Problem solving](https://study.hackyourfuture.net/#/programming/problem-solving-process)
13-
4. [Continue with Your personal brand](https://github.com/HackYourFuture/yourpersonalbrand)
13+
4. [Unit testing](https://study.hackyourfuture.net/#/testing/unit-tests)
14+
- [Testing framework (Jest)](https://study.hackyourfuture.net/#/tools/test-framework)
15+
5. [Finalise Your personal brand](https://github.com/HackYourFuture/yourpersonalbrand)
1416

1517
## Week goals
1618

1719
This week we are going to keep practicing coding and introducing a few more advanced topics that you will encounter. So a little less reading, more practicing! Firstly, higher order functions are a way functions are being used regularly in the real world, most notably in the methods `Array`'s provide us. Read all about it [here](https://study.hackyourfuture.net/#/javascript/higher-order-functions). Secondly, JavaScript has a thing called closures which you should know about. You will not encounter issues with them any time soon, but it is good to have in the back of your mind that this exists. So read all about them [here](https://study.hackyourfuture.net/#/javascript/closures).
1820

1921
Now that we are getting into more and more complex code it is also a good idea to learn a structured way to solve more complex problems. Have a look at the page on problem solving in your study book over [here](https://study.hackyourfuture.net/#/programming/problem-solving-process).
2022

23+
Last week we learned about the `assert` function which allow us to make code checks, but that is only the start. For real testing we developers write something we call unit tests, have a look at what that means [here](https://study.hackyourfuture.net/#/testing/unit-tests). Then have a look at test frameworks and what they can do over [here](https://study.hackyourfuture.net/#/tools/test-framework). Note that in our curriculum we will always be using *Jest* as it is very popular and works well with React which we will be studying later. Behind the scenes we have been testing your homework with Jest all this time and it is where the error messages when running your homework comes from!
24+
2125
After that it is time to start practicing again, make as many exercises as you can in the list [here](./MAKEME.md) and don't forget to hand in your homework. There will also be a test coming up for this module. What and when will be announced in your class channel, so keep an eye on that as usual! The best way to prepare is to keep programming!
2226

2327
Also, don't forget about the [personal brand repo](https://github.com/HackYourFuture/yourpersonalbrand) if you didn't manage to complete it last week.

0 commit comments

Comments
 (0)