DEV Community

OLAYEMI OGUNRINDE
OLAYEMI OGUNRINDE

Posted on

Unit Test in Python automation

Unit Test will enable you to quickly insert small units of code in your program.

The use case of Unit Test is:

def get_data(source):
data = load_data(source)
data = data(data)
return data

The above is an snippet and there's also another example of unit Test code attached to this article.

Image description

Top comments (0)