|
2 | 2 | contributors: Christian Janker
|
3 | 3 | ---
|
4 | 4 | Have in mind. This is a first draft. That covers mainly thoughts that popped into my mind.
|
| 5 | +Transcript from my talk about testing. |
| 6 | + |
| 7 | +If you are not yet a convert to testing, you may have heard your colleagues banging the drum about the value of testing, tried it and found it slow, |
| 8 | +complex and distracting or even unnecessary. |
| 9 | + |
| 10 | +And yet, there is this little nagging voice that asks: Are you missing something? Should you push yourself again and master this domain? |
| 11 | + |
| 12 | +YES! Try it! We will guide you. |
| 13 | + |
| 14 | +If you have alreday some experience with testing tools like Jasmine or Jest, then you are most likely familiar with the key words: |
| 15 | +- Describe |
| 16 | +- It |
| 17 | +- Expect |
| 18 | + |
| 19 | +If you make that into a three letter acronym you get: DIE |
| 20 | + |
| 21 | +This is how many people feel when it comes to testing. It feels something like a little death! |
| 22 | + |
| 23 | +Let's try to change that. |
| 24 | + |
| 25 | + |
| 26 | +Why do we write tests at all? |
| 27 | +Ever had this thought? Me too :) |
| 28 | +But more often that is just the conclusion we come up when we don't know how test a certain piece of code. |
| 29 | +We then often say: This can't be tested followed by |
| 30 | +There is nothing to test here. |
| 31 | + |
| 32 | +This is wrong, and let's be honest. Every responsible and professional developer knows that automated testing |
| 33 | +is part of the job. That's how we have learned it. Right? |
| 34 | +Closing a given task without having written a single test for it? We don't do this. Right? |
| 35 | +We want to professionals! |
| 36 | +We want to be good developers! |
| 37 | +We want to be heros. |
| 38 | +[hero](https://images.unsplash.com/photo-1531907700752-62799b2a3e84?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80) |
| 39 | + |
| 40 | + |
5 | 41 |
|
6 | 42 | # Motivation to testing
|
7 | 43 | Before we deep dive into the technical bits an pieces of testing your Angular application, we have to go through some
|
|
0 commit comments