0 votes
in Testing by
What is Unit Testing?

1 Answer

0 votes
by

Testing the smallest possible code snippets of a program.

Practically, breaking down of these code snippets into further smaller pieces is not achievable.

For e.g: considering below function as a single unit makes sense.

def square(n):

    "Returns square of a number."

    return n**2

Related questions

+1 vote
asked Mar 28, 2021 in Testing by rajeshsharma
0 votes
asked Mar 28, 2021 in Testing by rajeshsharma
...