codejump

Unit Testing

Preview — 3 of 10 questions

What best describes unit testing?

ATesting an entire application end-to-end.
BTesting individual units/functions in isolation to verify they work correctly.
CTesting only the user interface.
DTesting code only in production.

Which of the following is a JavaScript test framework?

AReact
BNode.js
CExpress
DJest

What is an assertion in testing?

AA statement that verifies a value is what you expect it to be.
BA statement that declares what a variable should be.
CAn error message.
DA test file.

Sign up free to play

Answer all 10 questions (7 more), see explanations for every answer, and track your score.