Unit Testing Flashcards
1
Q
What are unit tests?
A
A unit test is a way of testing a unit - the smallest piece of code that can be logically isolated in a system.
2
Q
Why is it important to write unit tests?
A
To have more control over an individual code block quality before integrating different components and then sent for regression testing.
3
Q
What code should be tested with a unit test? What code is not suited well for unite test?
A
Units
4
Q
What is Jest? What are some other popular JavaScript unit testing frameworks?
A
Testing framework