chapter 3 Flashcards

1
Q

What is unit testing?

A

the concept of taking a single function or part of our code and writing assertions, tests to ensure that it works as intended.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why unit test?

A
proof of coretness
lack of compiler in js
catch errors early
prevent regressions
specifications since comments tend to be outdated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is TDD?

A

Test Driven Development
it is an agile methodology that ensurs that tests are written, before the code is implemented and test drive the development

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Karma?

A

The test runner that makes running applications less painfull and fast.
Uses NodeJS and SocketIO to facilitate test in multiple browsers at fast speeds.
get instant feedbacks on our tests and code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly