Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#python #sicp
Question
What is a unit test?
Answer
A test that applies a single function

Tags
#python #sicp
Question
What is a unit test?
Answer
?

Tags
#python #sicp
Question
What is a unit test?
Answer
A test that applies a single function
If you want to change selection, open original toplevel document below and click on "Move attachment"

Parent (intermediate) annotation

Open it
pan>The key to effective testing is to write (and run) tests immediately after implementing new functions. It is even good practice to write some tests before you implement, in order to have some example inputs and outputs in your mind. A test that applies a single function is called a unit test. Exhaustive unit testing is a hallmark of good program design.<span><body><html>

Original toplevel document

1.5 Control
cted result, the run_docstring_examples function will report this problem as a test failure. When writing Python in files, all doctests in a file can be run by starting Python with the doctest command line option: python3 -m doctest <span>The key to effective testing is to write (and run) tests immediately after implementing new functions. It is even good practice to write some tests before you implement, in order to have some example inputs and outputs in your mind. A test that applies a single function is called a unit test. Exhaustive unit testing is a hallmark of good program design. Continue: 1.6 Higher-Order Functions Composing Programs by John DeNero, based on the textbook Structure and

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.